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.
130 131 132 133 |
# File 'lib/keysms.rb', line 130 def initialize(error) @messages = error["messages"] super(error) end |
Instance Attribute Details
#messages ⇒ Object
Returns the value of attribute messages.
128 129 130 |
# File 'lib/keysms.rb', line 128 def @messages end |
Instance Method Details
#to_s ⇒ Object
135 136 137 |
# File 'lib/keysms.rb', line 135 def to_s @messages.join(", ") end |