Exception: Keysms::NotAuthenticatedError
- Defined in:
- lib/keysms.rb
Instance Attribute Summary collapse
-
#messages ⇒ Object
Returns the value of attribute messages.
Attributes inherited from SMSError
Instance Method Summary collapse
-
#initialize(error) ⇒ NotAuthenticatedError
constructor
A new instance of NotAuthenticatedError.
- #to_s ⇒ Object
Constructor Details
#initialize(error) ⇒ NotAuthenticatedError
Returns a new instance of NotAuthenticatedError.
129 130 131 132 |
# File 'lib/keysms.rb', line 129 def initialize(error) @messages = error["messages"] super(error) end |
Instance Attribute Details
#messages ⇒ Object
Returns the value of attribute messages.
127 128 129 |
# File 'lib/keysms.rb', line 127 def @messages end |
Instance Method Details
#to_s ⇒ Object
134 135 136 |
# File 'lib/keysms.rb', line 134 def to_s @messages.join(", ") end |