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