From 2a0fe2a2dc1c7be2019e1ea4c73f6c85dcfc6821 Mon Sep 17 00:00:00 2001 From: francis Date: Mon, 21 Jan 2008 10:20:34 +0000 Subject: Rename a function to a better name. Some documentation. --- app/models/info_request.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 847a30cc0..6f7c5d6d3 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -17,7 +17,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.27 2008-01-14 12:22:36 francis Exp $ +# $Id: info_request.rb,v 1.28 2008-01-21 10:20:34 francis Exp $ require 'digest/sha1' @@ -85,6 +85,11 @@ public end # Work out what the situation of the request is + # awaiting - awaiting a response + # overdue - response is overdue + # information - has response containing information + # none - received a response, but no information XXX + # unknown - received a response that hasn't been classified def calculate_status # Extract aggregate information for any incoming messages all together contains_information = false -- cgit v1.2.3