Class: Peoplefinder::TokenMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/peoplefinder/token_mailer.rb

Instance Method Summary collapse

Instance Method Details

#new_token_email(token) ⇒ Object



4
5
6
7
# File 'app/mailers/peoplefinder/token_mailer.rb', line 4

def new_token_email(token)
  @token = token
  mail to: @token.user_email, subject: 'Access request to MOJ People Finder'
end