Class: UserMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- UserMailer
- Defined in:
- app/mailers/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset_email(user, temp_password) ⇒ Object
10 11 12 13 14 |
# File 'app/mailers/user_mailer.rb', line 10 def reset_email(user, temp_password) @user = user @temp_password = temp_password mail(to: @user.email, subject: 'New password for OneClick') end |
#signup_email(user, temp_password) ⇒ Object
4 5 6 7 8 |
# File 'app/mailers/user_mailer.rb', line 4 def signup_email(user, temp_password) @user = user @temp_password = temp_password mail(to: @user.email, subject: 'OneClick Account Information') end |