Class: Devise::Mailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Devise::Mailer
- Includes:
- Controllers::ScopedViews
- Defined in:
- app/mailers/devise/mailer.rb
Instance Attribute Summary collapse
-
#devise_mapping ⇒ Object
readonly
Returns the value of attribute devise_mapping.
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
- #confirmation_instructions(record) ⇒ Object
- #reset_password_instructions(record) ⇒ Object
- #unlock_instructions(record) ⇒ Object
Instance Attribute Details
#devise_mapping ⇒ Object (readonly)
Returns the value of attribute devise_mapping.
3 4 5 |
# File 'app/mailers/devise/mailer.rb', line 3 def devise_mapping @devise_mapping end |
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
3 4 5 |
# File 'app/mailers/devise/mailer.rb', line 3 def resource @resource end |
Instance Method Details
#confirmation_instructions(record) ⇒ Object
5 6 7 |
# File 'app/mailers/devise/mailer.rb', line 5 def confirmation_instructions(record) setup_mail(record, :confirmation_instructions) end |
#reset_password_instructions(record) ⇒ Object
9 10 11 |
# File 'app/mailers/devise/mailer.rb', line 9 def reset_password_instructions(record) setup_mail(record, :reset_password_instructions) end |
#unlock_instructions(record) ⇒ Object
13 14 15 |
# File 'app/mailers/devise/mailer.rb', line 13 def unlock_instructions(record) setup_mail(record, :unlock_instructions) end |