Exception: InteltechSms::Error
- Inherits:
-
StandardError
- Object
- StandardError
- InteltechSms::Error
- Defined in:
- lib/inteltech_sms.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response) ⇒ Error
Returns a new instance of Error.
30 31 32 33 |
# File 'lib/inteltech_sms.rb', line 30 def initialize(response) @response = response super(response.to_s) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
29 30 31 |
# File 'lib/inteltech_sms.rb', line 29 def response @response end |