Class: UserMailer

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

Instance Method Summary collapse

Instance Method Details

#reset_email(user, temp_password) ⇒ Object



10
11
12
13
14
# File 'app/mailers/user_mailer.rb', line 10

def reset_email(user, temp_password)
	@user = user
  @temp_password = temp_password
  mail(to: @user.email, subject: 'New password for OneClick')
end

#signup_email(user, temp_password) ⇒ Object



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

def (user, temp_password)
	@user = user
  @temp_password = temp_password
  mail(to: @user.email, subject: 'OneClick Account Information')
end