Class: NoPassword::EmailAuthenticationMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/nopassword/email_authentication_mailer.rb

Instance Method Summary collapse

Instance Method Details

#notification_emailObject



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