Class: ApiUserAuth::WelcomeMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/api_user_auth/welcome_mailer.rb

Overview

Welcome mailer

Instance Method Summary collapse

Instance Method Details

#welcome(user) ⇒ Object



6
7
8
9
# File 'app/mailers/api_user_auth/welcome_mailer.rb', line 6

def welcome(user)
  @email = user.email
  mail to: user.email, subject: 'Welcome !'
end