Exception: Pushing::DeliveryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Pushing::DeliveryError
- Defined in:
- lib/pushing/platforms.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#notification ⇒ Object
readonly
Returns the value of attribute notification.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response = nil, notification = nil) ⇒ DeliveryError
constructor
A new instance of DeliveryError.
Constructor Details
#initialize(message, response = nil, notification = nil) ⇒ DeliveryError
Returns a new instance of DeliveryError.
99 100 101 102 103 |
# File 'lib/pushing/platforms.rb', line 99 def initialize(, response = nil, notification = nil) super() @response = response @notification = notification end |
Instance Attribute Details
#notification ⇒ Object (readonly)
Returns the value of attribute notification.
97 98 99 |
# File 'lib/pushing/platforms.rb', line 97 def notification @notification end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
97 98 99 |
# File 'lib/pushing/platforms.rb', line 97 def response @response end |