Sha256: 9550fdfef287918372f43b15c33122ef669cbc4af26d899695406e9ccf0f414f

Contents?: true

Size: 646 Bytes

Versions: 6

Compression:

Stored size: 646 Bytes

Contents

class RailsBase::EmailVerificationMailer < RailsBase::ApplicationMailer
	default from: Rails.configuration.mail_from

	def email_verification(user:, url:)
	  @user = user
	  @sso_url_for_user = url
	  mail(to: @user.email, subject: "Welcome to #{Rails.application.class.parent_name}")
	end

	def forgot_password(user:, url:)
	  @user = user
	  @sso_url_for_user = url
	  mail(to: @user.email, subject: "#{Rails.application.class.parent_name}: Forgot Password")
	end

	def event(user:, event:, msg: nil)
	  @user = user
	  @event = event
	  @msg = msg
	  mail(to: @user.email, subject: "#{Rails.application.class.parent_name}: #{event}")
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_base-0.53.0 app/mailers/rails_base/email_verification_mailer.rb
rails_base-0.52.3 app/mailers/rails_base/email_verification_mailer.rb
rails_base-0.52.1 app/mailers/rails_base/email_verification_mailer.rb
rails_base-0.52.0 app/mailers/rails_base/email_verification_mailer.rb
rails_base-0.51.1 app/mailers/rails_base/email_verification_mailer.rb
rails_base-0.51.0 app/mailers/rails_base/email_verification_mailer.rb