aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb7
1 files changed, 6 insertions, 1 deletions
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