Exception: TPLink::TPLinkCloudError
- Inherits:
-
StandardError
- Object
- StandardError
- TPLink::TPLinkCloudError
- Defined in:
- lib/tp_link/errors.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Instance Method Summary collapse
-
#initialize(message, action = nil) ⇒ TPLinkCloudError
constructor
A new instance of TPLinkCloudError.
Constructor Details
#initialize(message, action = nil) ⇒ TPLinkCloudError
14 15 16 17 |
# File 'lib/tp_link/errors.rb', line 14 def initialize(, action = nil) super() @action = action end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
13 14 15 |
# File 'lib/tp_link/errors.rb', line 13 def action @action end |