Exception: Zaptec::Errors::RequestFailed
- Defined in:
- lib/zaptec/errors.rb
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.
Constructor Details
#initialize(message, response = nil) ⇒ RequestFailed
Returns a new instance of RequestFailed.
9 10 11 12 |
# File 'lib/zaptec/errors.rb', line 9 def initialize(, response = nil) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
7 8 9 |
# File 'lib/zaptec/errors.rb', line 7 def response @response end |