Class: NoPassword::EmailAuthenticationMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- NoPassword::EmailAuthenticationMailer
- Defined in:
- app/mailers/nopassword/email_authentication_mailer.rb
Instance Method Summary collapse
Instance Method Details
#notification_email ⇒ Object
2 3 4 5 |
# File 'app/mailers/nopassword/email_authentication_mailer.rb', line 2 def notification_email @authentication = params[:authentication] mail(to: @authentication.email, subject: "Verification code: #{@authentication.code}") end |