Exception: Andpush::HttpError
- Defined in:
- lib/andpush/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(message, response) ⇒ HttpError
Returns a new instance of HttpError.
8 9 10 11 |
# File 'lib/andpush/exceptions.rb', line 8 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/andpush/exceptions.rb', line 6 def response @response end |