Exception: MarketplaceKit::Errors::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- MarketplaceKit::Errors::ApiError
- Defined in:
- lib/marketplace_kit/errors/api_error.rb
Instance Attribute Summary collapse
-
#parsed_response ⇒ Object
readonly
Returns the value of attribute parsed_response.
Instance Method Summary collapse
-
#initialize(parsed_response) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(parsed_response) ⇒ ApiError
Returns a new instance of ApiError.
6 7 8 9 |
# File 'lib/marketplace_kit/errors/api_error.rb', line 6 def initialize(parsed_response) @parsed_response = parsed_response super('Invalid API response!') end |
Instance Attribute Details
#parsed_response ⇒ Object (readonly)
Returns the value of attribute parsed_response.
4 5 6 |
# File 'lib/marketplace_kit/errors/api_error.rb', line 4 def parsed_response @parsed_response end |