Exception: BrainstemAdaptor::InvalidResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- BrainstemAdaptor::InvalidResponseError
- Defined in:
- lib/brainstem_adaptor/invalid_response_error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, message = response.inspect) ⇒ InvalidResponseError
constructor
A new instance of InvalidResponseError.
Constructor Details
#initialize(response, message = response.inspect) ⇒ InvalidResponseError
Returns a new instance of InvalidResponseError.
7 8 9 10 |
# File 'lib/brainstem_adaptor/invalid_response_error.rb', line 7 def initialize(response, = response.inspect) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/brainstem_adaptor/invalid_response_error.rb', line 3 def response @response end |