Exception: SekoEcomAPI::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/seko_ecom_api/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ParseError

Returns a new instance of ParseError.



7
8
9
10
# File 'lib/seko_ecom_api/error.rb', line 7

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



6
7
8
# File 'lib/seko_ecom_api/error.rb', line 6

def response
  @response
end