Class: DeviseMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- DeviseMailer
- Extended by:
- Devise::Controllers::InternalHelpers::ScopedViews
- 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
Methods included from Devise::Controllers::InternalHelpers::ScopedViews
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
6 7 8 |
# File 'app/models/devise_mailer.rb', line 6 def confirmation_instructions(record) setup_mail(record, :confirmation_instructions) end |
#reset_password_instructions(record) ⇒ Object
Deliver reset password instructions when manually requested
11 12 13 |
# File 'app/models/devise_mailer.rb', line 11 def reset_password_instructions(record) setup_mail(record, :reset_password_instructions) end |
#unlock_instructions(record) ⇒ Object
15 16 17 |
# File 'app/models/devise_mailer.rb', line 15 def unlock_instructions(record) setup_mail(record, :unlock_instructions) end |