Exception: Awis::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Awis::ResponseError
- Defined in:
- lib/awis/exceptions.rb
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/awis/exceptions.rb', line 11 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
9 10 11 |
# File 'lib/awis/exceptions.rb', line 9 def response @response end |