Exception: ApiRecord::ApiInvalidError
- Inherits:
-
StandardError
- Object
- StandardError
- ApiRecord::ApiInvalidError
- Defined in:
- lib/api_record/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ApiInvalidError
constructor
A new instance of ApiInvalidError.
Constructor Details
#initialize(response) ⇒ ApiInvalidError
Returns a new instance of ApiInvalidError.
18 19 20 |
# File 'lib/api_record/errors.rb', line 18 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/api_record/errors.rb', line 16 def response @response end |