Class: ApiUserAuth::ForgotPasswordMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ApiUserAuth::ForgotPasswordMailer
- Defined in:
- app/mailers/api_user_auth/forgot_password_mailer.rb
Overview
Forgot password mailer
Instance Method Summary collapse
Instance Method Details
#reset_code(user) ⇒ Object
6 7 8 9 10 |
# File 'app/mailers/api_user_auth/forgot_password_mailer.rb', line 6 def reset_code(user) @email = user.email @code = user.code mail to: user.email, subject: 'Password Code Reset' end |