Class: DeviseMailerPreview

Inherits:
ActionMailer::Preview
  • Object
show all
Defined in:
lib/mailer_previews/devise_mailer_preview.rb

Overview

Lesli

Copyright © 2023, Lesli Technologies, S. A.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses/.

Lesli · Ruby on Rails SaaS Development Framework.

Made with ♥ by www.lesli.tech Building a better future, one line of code at a time.

// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // ·

Instance Method Summary collapse

Instance Method Details

#confirmation_instructionsObject



42
43
44
45
46
47
# File 'lib/mailer_previews/devise_mailer_preview.rb', line 42

def confirmation_instructions
    record = Lesli::User.first
    token = "abcdef12345"
    opts = {}
    Lesli::DeviseMailer.confirmation_instructions(record, token, opts)
end

#reset_password_instructionsObject



35
36
37
38
39
40
# File 'lib/mailer_previews/devise_mailer_preview.rb', line 35

def reset_password_instructions
    record = Lesli::User.first
    token = "abcdef12345"
    opts = {}
    Lesli::DeviseMailer.reset_password_instructions(record, token, opts)
end