Class: MerbSliceSms::SmsMailer
- Inherits:
-
Merb::MailController
- Object
- Merb::MailController
- MerbSliceSms::SmsMailer
- Defined in:
- app/mailers/sms_mailer.rb
Instance Method Summary collapse
-
#alert ⇒ Object
controller_for_slice MerbSliceSms, :templates_for => :mailer, :path => ‘views’.
Instance Method Details
#alert ⇒ Object
controller_for_slice MerbSliceSms, :templates_for => :mailer, :path => ‘views’
5 6 7 8 9 |
# File 'app/mailers/sms_mailer.rb', line 5 def alert @message = params[:body] Merb.logger.info "Text message sent." render_mail end |