Class: Pntfr::Session::SuccessResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Pntfr::Session::SuccessResponse
- Defined in:
- lib/pntfr/session/success_response.rb
Instance Method Summary collapse
-
#error? ⇒ Boolean
Was there an error with the notification? implies
succcess?but nomsg_sent?. -
#failure? ⇒ Boolean
communication with notification service failed? implies no
succcess?. -
#msg_sent? ⇒ Boolean
message has been sent?.
-
#success? ⇒ Boolean
communication with notification service was OK? implies no
failure?.
Methods inherited from BaseResponse
Instance Method Details
#error? ⇒ Boolean
Was there an error with the notification? implies succcess? but no msg_sent?
26 27 28 |
# File 'lib/pntfr/session/success_response.rb', line 26 def error? false end |
#failure? ⇒ Boolean
communication with notification service failed? implies no succcess?
21 22 23 |
# File 'lib/pntfr/session/success_response.rb', line 21 def failure? false end |
#msg_sent? ⇒ Boolean
message has been sent?
16 17 18 |
# File 'lib/pntfr/session/success_response.rb', line 16 def msg_sent? true end |
#success? ⇒ Boolean
communication with notification service was OK? implies no failure?
12 13 14 |
# File 'lib/pntfr/session/success_response.rb', line 12 def success? true end |