Exception: SierraApiResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- SierraApiResponseError
- Defined in:
- lib/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ SierraApiResponseError
constructor
A new instance of SierraApiResponseError.
Constructor Details
#initialize(response) ⇒ SierraApiResponseError
Returns a new instance of SierraApiResponseError.
10 11 12 |
# File 'lib/errors.rb', line 10 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/errors.rb', line 8 def response @response end |