Exception: InteltechSms::Error

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



29
30
31
# File 'lib/inteltech_sms.rb', line 29

def response
  @response
end