Class: Devise::Mailer

Inherits:
ActionMailer::Base
  • Object
show all
Includes:
Controllers::ScopedViews
Defined in:
app/mailers/devise/mailer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#devise_mappingObject (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

#resourceObject (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