Exception: Awis::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/awis/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ResponseError

Returns a new instance of ResponseError.



11
12
13
14
# File 'lib/awis/exceptions.rb', line 11

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



9
10
11
# File 'lib/awis/exceptions.rb', line 9

def response
  @response
end