Class: Cms::EmailMessageMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Cms::EmailMessageMailer
- Defined in:
- app/models/cms/email_message_mailer.rb
Instance Method Summary collapse
Instance Method Details
#email_message(message) ⇒ Object
5 6 7 8 9 |
# File 'app/models/cms/email_message_mailer.rb', line 5 def () email = {:to=>.recipients, :from=>.sender, :subject => .subject, :body =>.body} email[:content_type] = .content_type if .content_type mail email end |