Exception: Beds24::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- Beds24::APIError
- Defined in:
- lib/beds24.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, response) ⇒ APIError
constructor
A new instance of APIError.
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
#response ⇒ Object
Returns the value of attribute response.
16 17 18 |
# File 'lib/beds24.rb', line 16 def response @response end |