Exception: ApiRecord::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- ApiRecord::ApiError
- Defined in:
- lib/api_record/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(response) ⇒ ApiError
Returns a new instance of ApiError.
26 27 28 |
# File 'lib/api_record/errors.rb', line 26 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
24 25 26 |
# File 'lib/api_record/errors.rb', line 24 def response @response end |