Exception: Keysms::SMSError
- Inherits:
-
StandardError
- Object
- StandardError
- Keysms::SMSError
- Defined in:
- lib/keysms.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ SMSError
constructor
A new instance of SMSError.
Constructor Details
#initialize(error) ⇒ SMSError
Returns a new instance of SMSError.
120 121 122 123 |
# File 'lib/keysms.rb', line 120 def initialize(error) @error = error["error"] super end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
119 120 121 |
# File 'lib/keysms.rb', line 119 def error @error end |