Class: DevisePreview

Inherits:
ActionMailer::Preview
  • Object
show all
Defined in:
lib/generators/happy_seed/devise/templates/spec/mailers/previews/devise_preview.rb

Instance Method Summary collapse

Instance Method Details

#confirmation_instructionsObject



3
4
5
# File 'lib/generators/happy_seed/devise/templates/spec/mailers/previews/devise_preview.rb', line 3

def confirmation_instructions
  Devise::Mailer.confirmation_instructions(user, "tokentokentoken")
end

#invitation_instructionsObject



19
20
21
# File 'lib/generators/happy_seed/devise/templates/spec/mailers/previews/devise_preview.rb', line 19

def invitation_instructions
  Devise::Mailer.invitation_instructions(user, "tokentokentoken")
end

#reset_password_instructionsObject



8
9
10
# File 'lib/generators/happy_seed/devise/templates/spec/mailers/previews/devise_preview.rb', line 8

def reset_password_instructions
  Devise::Mailer.reset_password_instructions(user, "tokentokentoken")
end

#unlock_instructionsObject



13
14
15
# File 'lib/generators/happy_seed/devise/templates/spec/mailers/previews/devise_preview.rb', line 13

def unlock_instructions
  Devise::Mailer.unlock_instructions(user, "tokentokentoken")
end