Exception: Rixi::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- Rixi::APIError
- Defined in:
- lib/rixi.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, response = nil) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(msg, response = nil) ⇒ APIError
Returns a new instance of APIError.
9 10 11 12 |
# File 'lib/rixi.rb', line 9 def initialize(msg, response = nil) super(msg) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/rixi.rb', line 8 def response @response end |