Class: UserPlane::VerificationMailer
- Inherits:
-
Object
- Object
- UserPlane::VerificationMailer
- Defined in:
- app/mailers/user_plane/verification_mailer.rb
Instance Method Summary collapse
-
#address_verification(confirm_email_address) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
-
#password_reset(reset_password) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
Instance Method Details
#address_verification(confirm_email_address) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.verification_mailer.address_verification.subject
8 9 10 11 12 |
# File 'app/mailers/user_plane/verification_mailer.rb', line 8 def address_verification confirm_email_address @confirm_email_address = confirm_email_address mail to: confirm_email_address.verification.recipient end |
#password_reset(reset_password) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.verification_mailer.password_reset.subject
19 20 21 22 23 |
# File 'app/mailers/user_plane/verification_mailer.rb', line 19 def password_reset reset_password @reset_password = reset_password mail to: reset_password.verification.recipient end |