Exception: Truesenses::SMSGatewayError
- Inherits:
-
StandardError
- Object
- StandardError
- Truesenses::SMSGatewayError
- Defined in:
- lib/truesenses/sms_gateway_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ SMSGatewayError
constructor
A new instance of SMSGatewayError.
Constructor Details
#initialize(code, message) ⇒ SMSGatewayError
Returns a new instance of SMSGatewayError.
4 5 6 7 |
# File 'lib/truesenses/sms_gateway_error.rb', line 4 def initialize(code, ) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
3 4 5 |
# File 'lib/truesenses/sms_gateway_error.rb', line 3 def code @code end |