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
- #email_changed(record, opts = {}) ⇒ Object
- #password_change(record, opts = {}) ⇒ Object
- #reset_password_instructions(record, token, opts = {}) ⇒ Object
- #unlock_instructions(record, token, opts = {}) ⇒ Object
Instance Method Details
#confirmation_instructions(record, token, opts = {}) ⇒ Object
7 8 9 10 |
# File 'app/mailers/devise/mailer.rb', line 7 def confirmation_instructions(record, token, opts = {}) @token = token devise_mail(record, :confirmation_instructions, opts) end |
#email_changed(record, opts = {}) ⇒ Object
22 23 24 |
# File 'app/mailers/devise/mailer.rb', line 22 def email_changed(record, opts = {}) devise_mail(record, :email_changed, opts) end |
#password_change(record, opts = {}) ⇒ Object
26 27 28 |
# File 'app/mailers/devise/mailer.rb', line 26 def password_change(record, opts = {}) devise_mail(record, :password_change, opts) end |
#reset_password_instructions(record, token, opts = {}) ⇒ Object
12 13 14 15 |
# File 'app/mailers/devise/mailer.rb', line 12 def reset_password_instructions(record, token, opts = {}) @token = token devise_mail(record, :reset_password_instructions, opts) end |
#unlock_instructions(record, token, opts = {}) ⇒ Object
17 18 19 20 |
# File 'app/mailers/devise/mailer.rb', line 17 def unlock_instructions(record, token, opts = {}) @token = token devise_mail(record, :unlock_instructions, opts) end |