Class: Spotlight::ConfirmationMailer

Inherits:
ActionMailer::Base
  • Object
show all
Includes:
Devise::Mailers::Helpers
Defined in:
app/mailers/spotlight/confirmation_mailer.rb

Overview

Confirm new devise users

Instance Method Summary collapse

Instance Method Details

#confirmation_instructions(record, token, opts, exhibit: nil) ⇒ Object



9
10
11
12
13
14
# File 'app/mailers/spotlight/confirmation_mailer.rb', line 9

def confirmation_instructions(record, token, opts, exhibit: nil)
  @token = token
  @exhibit = exhibit
  initialize_from_record(record)
  mail headers_for(:confirmation_instructions, opts)
end