Exception: SmsManager::SendingError
- Defined in:
- lib/sms_manager/error/sending_error.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ SendingError
constructor
A new instance of SendingError.
Constructor Details
#initialize(body) ⇒ SendingError
Returns a new instance of SendingError.
5 6 7 8 |
# File 'lib/sms_manager/error/sending_error.rb', line 5 def initialize(body) code = body.split('|').last.to_i super (code) end |