Class: Pntfr::Session::BaseResponse
- Inherits:
-
Object
- Object
- Pntfr::Session::BaseResponse
- Defined in:
- lib/pntfr/session/base_response.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#error ⇒ Object
which was the error?.
-
#error? ⇒ Boolean
Was there an error with the notification? implies
succcess?but nomsg_sent?. -
#failure ⇒ Object
which was the failure?.
-
#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?.
Instance Method Details
#error ⇒ Object
which was the error?
24 25 |
# File 'lib/pntfr/session/base_response.rb', line 24 def error end |
#error? ⇒ Boolean
Was there an error with the notification? implies succcess? but no msg_sent?
20 21 22 |
# File 'lib/pntfr/session/base_response.rb', line 20 def error? raise 'not implemented!' end |
#failure ⇒ Object
which was the failure?
27 28 |
# File 'lib/pntfr/session/base_response.rb', line 27 def failure end |
#failure? ⇒ Boolean
communication with notification service failed? implies no succcess?
15 16 17 |
# File 'lib/pntfr/session/base_response.rb', line 15 def failure? raise 'not implemented!' end |
#msg_sent? ⇒ Boolean
message has been sent?
10 11 12 |
# File 'lib/pntfr/session/base_response.rb', line 10 def msg_sent? raise 'not implemented!' end |
#success? ⇒ Boolean
communication with notification service was OK? implies no failure?
6 7 8 |
# File 'lib/pntfr/session/base_response.rb', line 6 def success? raise 'not implemented!' end |