Class: SMSNotifier
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- SMSNotifier
- Defined in:
- lib/sms_fu/sms_notifier.rb
Instance Method Summary collapse
Instance Method Details
#send_sms(recipient, message, sender_email) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/sms_fu/sms_notifier.rb', line 2 def send_sms(recipient, , sender_email) mail(:to => recipient, :from => sender_email, :subject => '') do |format| format.text { render :text => } format.html { render :text => } end end |