Class: UserEmailMailer

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

Instance Method Summary collapse

Instance Method Details

#confirm(email) ⇒ Object


4
5
6
7
8
9
# File 'app/mailers/user_email_mailer.rb', line 4

def confirm(email)
  @email = email
  @user = email.user

  mail to: email.email, subject: "#{ENV['APP_NAME']} 身分認證信"
end