Exception: SmsOnRails::ServiceProviders::EmailGatewayInvalidCarrier
- Inherits:
-
EmailGatewayInvalidSms
- Object
- Exception
- SmsOnRails::SmsError
- EmailGatewayInvalidSms
- SmsOnRails::ServiceProviders::EmailGatewayInvalidCarrier
- Defined in:
- lib/sms_on_rails/service_providers/email_gateway_support/errors.rb
Instance Attribute Summary
Attributes inherited from SmsOnRails::SmsError
Class Method Summary collapse
Methods inherited from EmailGatewayInvalidSms
Methods inherited from SmsOnRails::SmsError
Constructor Details
This class inherits a constructor from SmsOnRails::SmsError
Class Method Details
.phone_message(phone_number) ⇒ Object
15 16 17 |
# File 'lib/sms_on_rails/service_providers/email_gateway_support/errors.rb', line 15 def self.(phone_number) msg = "The carrier for #{phone_number.human_display if phone_number} is invalid." end |