Class: SmsOnRails::ServiceProviders::EmailGatewaySupport::SmsMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- SmsOnRails::ServiceProviders::EmailGatewaySupport::SmsMailer
- Defined in:
- lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb
Instance Method Summary collapse
Instance Method Details
#sms_through_gateway(recipient, message, phone_options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb', line 6 def sms_through_gateway(recipient, , ={}) recipients recipient bcc [:bcc] from [:sender] subject [:subject] body :message => , :options => template [:template] if [:template] content_type 'text/plain' end |