Exception: Prestashop::Api::RequestFailed
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Prestashop::Api::RequestFailed
- Defined in:
- lib/prestashop/api/error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ RequestFailed
constructor
A new instance of RequestFailed.
Constructor Details
#initialize(response) ⇒ RequestFailed
Returns a new instance of RequestFailed.
11 12 13 |
# File 'lib/prestashop/api/error.rb', line 11 def initialize response @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/prestashop/api/error.rb', line 10 def response @response end |