Class: DeviseMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- DeviseMailer
- Defined in:
- app/models/devise_mailer.rb
Instance Method Summary collapse
-
#confirmation_instructions(record) ⇒ Object
Deliver confirmation instructions when the user is created or its email is updated, and also when confirmation is manually requested.
-
#reset_password_instructions(record) ⇒ Object
Deliver reset password instructions when manually requested.
- #unlock_instructions(record) ⇒ Object
Instance Method Details
#confirmation_instructions(record) ⇒ Object
Deliver confirmation instructions when the user is created or its email is updated, and also when confirmation is manually requested
5 6 7 |
# File 'app/models/devise_mailer.rb', line 5 def confirmation_instructions(record) setup_mail(record, :confirmation_instructions) end |
#reset_password_instructions(record) ⇒ Object
Deliver reset password instructions when manually requested
10 11 12 |
# File 'app/models/devise_mailer.rb', line 10 def reset_password_instructions(record) setup_mail(record, :reset_password_instructions) end |
#unlock_instructions(record) ⇒ Object
14 15 16 |
# File 'app/models/devise_mailer.rb', line 14 def unlock_instructions(record) setup_mail(record, :unlock_instructions) end |