Exception: Beds24::APIError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, response) ⇒ APIError

Returns a new instance of APIError.



18
19
20
21
# File 'lib/beds24.rb', line 18

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

Instance Attribute Details

#responseObject

Returns the value of attribute response.



16
17
18
# File 'lib/beds24.rb', line 16

def response
  @response
end