diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-10-14 16:48:48 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-10-14 16:59:11 +0100 |
commit | 6d05404668cbc3a517f4c0c0884e94626ff30ff6 (patch) | |
tree | 6aaf18788b98e702ae40daafdaddc86ea5a4d85e /spec/controllers/request_controller_spec.rb | |
parent | c64360898beca1162a1bdef9ca4b76676e0907f8 (diff) |
OutgoingMessage methods for async email sending
#sendable? checks whether the message is in a state that we can send,
otherwise it raises an appropriate exception. Not ideal (should just
return false, but this is existing behaviour)
#record_email_delivery updates the OutgoingMessage instance, logs
an event with the InfoRequest and updates the InfoRequest state.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions