Class: Auth::Notifier

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/auth/notifier.rb

Instance Method Summary collapse

Instance Method Details

#notification(resource, notification) ⇒ Object

make sure that anything going into this argument implements includes globalid, otherwise serialization and deserialization does not work.



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

def notification(resource,notification)
	@resource = resource
	@notification = Auth.configuration.notification_class.constantize.new
	mail to: "[email protected]", subject:  "#{Time.now}Now with new otp job architecture.  #{Auth.configuration.brand_name}"
end