Class: Devise::Mailer
- Inherits:
-
Object
- Object
- Devise::Mailer
- Includes:
- Devise::Mailers::Helpers
- Defined in:
- app/mailers/devise/mailer.rb
Instance Method Summary collapse
- #confirmation_instructions(record, token, opts = {}) ⇒ Object
- #reset_password_instructions(record, token, opts = {}) ⇒ Object
- #unlock_instructions(record, token, opts = {}) ⇒ Object
Instance Method Details
#confirmation_instructions(record, token, opts = {}) ⇒ Object
5 6 7 8 |
# File 'app/mailers/devise/mailer.rb', line 5 def confirmation_instructions(record, token, opts={}) @token = token devise_mail(record, :confirmation_instructions, opts) end |
#reset_password_instructions(record, token, opts = {}) ⇒ Object
10 11 12 13 |
# File 'app/mailers/devise/mailer.rb', line 10 def reset_password_instructions(record, token, opts={}) @token = token devise_mail(record, :reset_password_instructions, opts) end |
#unlock_instructions(record, token, opts = {}) ⇒ Object
15 16 17 18 |
# File 'app/mailers/devise/mailer.rb', line 15 def unlock_instructions(record, token, opts={}) @token = token devise_mail(record, :unlock_instructions, opts) end |