class RodauthMailer

Public Instance Methods

password_changed(recipient) click to toggle source
# File lib/generators/rodauth/templates/app/mailers/rodauth_mailer.rb, line 22
def password_changed(recipient)
  mail to: recipient
end
reset_password(recipient, email_link) click to toggle source
# File lib/generators/rodauth/templates/app/mailers/rodauth_mailer.rb, line 8
def reset_password(recipient, email_link)
  @email_link = email_link

  mail to: recipient
end
verify_account(recipient, email_link) click to toggle source
# File lib/generators/rodauth/templates/app/mailers/rodauth_mailer.rb, line 2
def verify_account(recipient, email_link)
  @email_link = email_link

  mail to: recipient
end
verify_login_change(recipient, old_login, new_login, email_link) click to toggle source
# File lib/generators/rodauth/templates/app/mailers/rodauth_mailer.rb, line 14
def verify_login_change(recipient, old_login, new_login, email_link)
  @old_login  = old_login
  @new_login  = new_login
  @email_link = email_link

  mail to: recipient
end