Class: Devise::Mailer

Inherits:
Object
  • Object
show all
Includes:
Devise::Mailers::Helpers
Defined in:
app/mailers/devise/mailer.rb

Instance Method Summary collapse

Methods included from Devise::Mailers::Helpers

#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



4
5
6
7
# File 'app/mailers/devise/mailer.rb', line 4

def confirmation_instructions(record, token, opts={})
  @token = token
  devise_mail(record, :confirmation_instructions, opts)
end

#reset_password_instructions(record, token, opts = {}) ⇒ Object



9
10
11
12
# File 'app/mailers/devise/mailer.rb', line 9

def reset_password_instructions(record, token, opts={})
  @token = token
  devise_mail(record, :reset_password_instructions, opts)
end

#unlock_instructions(record, token, opts = {}) ⇒ Object



14
15
16
17
# File 'app/mailers/devise/mailer.rb', line 14

def unlock_instructions(record, token, opts={})
  @token = token
  devise_mail(record, :unlock_instructions, opts)
end