Class: Devise::Mailer
Instance Attribute Summary
#resource, #scope_name
Instance Method Summary
collapse
#devise_mail, #devise_mapping, #headers_for, #initialize_from_record, #mailer_from, #mailer_reply_to, #mailer_sender, #subject_for, #template_paths
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
|
#email_changed(record, opts = {}) ⇒ Object
20
21
22
|
# File 'app/mailers/devise/mailer.rb', line 20
def email_changed(record, opts={})
devise_mail(record, :email_changed, opts)
end
|
#password_change(record, opts = {}) ⇒ Object
24
25
26
|
# File 'app/mailers/devise/mailer.rb', line 24
def password_change(record, opts={})
devise_mail(record, :password_change, 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
|