Sha256: 39ff167d31dc43614d19d6872c763b4259b895856e936db0b05539815a66a9fa
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
class RailsBase::EventMailer < RailsBase::ApplicationMailer default from: Rails.configuration.mail_from def send_sso(user, message) @user = user @message = message mail(to: user.email, subject: "#{RailsBase.app_name}: SSO login", template_name: 'event') # event(user: user, event: 'SSO login', message: message) end def event(user, event, message) @user = user @message = message mail(to: @user.email, subject: "#{RailsBase.app_name}: #{event}", template_name: 'event') end include ::RailsBase::MailerKwargInject end
Version data entries
4 entries across 4 versions & 1 rubygems