Class: Alphabeta::SignupMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Alphabeta::SignupMailer
- Defined in:
- app/mailers/alphabeta/signup_mailer.rb
Instance Method Summary collapse
Instance Method Details
#intro_mail(email) ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/mailers/alphabeta/signup_mailer.rb', line 5 def intro_mail(email) @header = I18n.t('intro_mail.header') @content = I18n.t('intro_mail.content') @salutation = I18n.t('intro_mail.salutation') @from = I18n.t('intro_mail.from') mail(to: email, subject: I18n.t('intro_mail.subject')) end |