Class: EgovUtils::UserMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- EgovUtils::UserMailer
- Defined in:
- app/mailers/egov_utils/user_mailer.rb
Instance Method Summary collapse
- #account_information(user, password) ⇒ Object
- #confirmation_email(user) ⇒ Object
- #password_change_info(user) ⇒ Object
- #password_reset(user, token) ⇒ Object
Instance Method Details
#account_information(user, password) ⇒ Object
11 12 13 14 15 |
# File 'app/mailers/egov_utils/user_mailer.rb', line 11 def account_information(user, password) @user = user @password = password mail(to: user.mail, subject: t(:app_name)) end |
#confirmation_email(user) ⇒ Object
6 7 8 9 |
# File 'app/mailers/egov_utils/user_mailer.rb', line 6 def confirmation_email(user) @user = user mail(to: user.mail, subject: t(:app_name)) end |
#password_change_info(user) ⇒ Object
22 23 24 25 |
# File 'app/mailers/egov_utils/user_mailer.rb', line 22 def password_change_info(user) @user = user mail(to: user.mail, subject: t(:app_name)) end |
#password_reset(user, token) ⇒ Object
17 18 19 20 |
# File 'app/mailers/egov_utils/user_mailer.rb', line 17 def password_reset(user, token) @user, @token = user, token mail(to: user.mail, subject: t(:app_name)) end |