Sha256: f9e7010a67cf6cac3790e1ca1f0b517c2b321ba22938d27a752efc75cd823f0f
Contents?: true
Size: 441 Bytes
Versions: 49
Compression:
Stored size: 441 Bytes
Contents
module Wbase class PasswordResetMailer < ApplicationMailer def reset(user) headers "X-SMTPAPI" => { unique_args: { user_id: user.id, mail_eventable_id: user.id, mail_eventable_type: 'User' } }.to_json @user = user mail( to: user.email, bcc: [Wbase.firehose_email], subject: "[#{ Wbase.site_name }] Password Reset" ) end end end
Version data entries
49 entries across 49 versions & 1 rubygems