Exception: EnomAPI::ResponseError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/enom-api.rb

Overview

API Response error exception

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_messages) ⇒ ResponseError

Returns a new instance of ResponseError.



13
14
15
# File 'lib/enom-api.rb', line 13

def initialize(error_messages)
  @messages = error_messages
end

Instance Attribute Details

#messagesObject (readonly)

Returns the value of attribute messages.



12
13
14
# File 'lib/enom-api.rb', line 12

def messages
  @messages
end