Exception: SmsOnRails::ServiceProviders::EmailGatewayInvalidCarrier

Inherits:
EmailGatewayInvalidSms show all
Defined in:
lib/sms_on_rails/service_providers/email_gateway_support/errors.rb

Instance Attribute Summary

Attributes inherited from SmsOnRails::SmsError

#sub_status

Class Method Summary collapse

Methods inherited from EmailGatewayInvalidSms

phone_error

Methods inherited from SmsOnRails::SmsError

#initialize

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_message(phone_number)
  msg =  "The carrier for #{phone_number.human_display if phone_number} is invalid."
end