Exception: Prestashop::Api::RequestFailed

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/prestashop/api/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ RequestFailed


11
12
13
# File 'lib/prestashop/api/error.rb', line 11

def initialize response
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response


10
11
12
# File 'lib/prestashop/api/error.rb', line 10

def response
  @response
end