Exception: Easee::Errors::RequestFailed
- Defined in:
- lib/easee/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response = nil) ⇒ RequestFailed
constructor
A new instance of RequestFailed.
Methods inherited from Base
Constructor Details
#initialize(message, response = nil) ⇒ RequestFailed
Returns a new instance of RequestFailed.
12 13 14 15 |
# File 'lib/easee/errors.rb', line 12 def initialize(, response = nil) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/easee/errors.rb', line 10 def response @response end |