Exception: Keysms::SMSError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/keysms.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject

Returns the value of attribute error.



119
120
121
# File 'lib/keysms.rb', line 119

def error
  @error
end