Class: InstantLogin::UserMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/instant_login/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#token(user) ⇒ Object



5
6
7
8
# File 'app/mailers/instant_login/user_mailer.rb', line 5

def token(user)
  @user = user
  mail( to: user.email)
end