Class: Workers::Mail::NotifierBase

Inherits:
Base
  • Object
show all
Defined in:
app/workers/mail/notifier_base.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object


8
9
10
# File 'app/workers/mail/notifier_base.rb', line 8

def perform(*args)
  Notifier.send_notification(self.class.name.gsub("Workers::Mail::", "").underscore, *args).deliver_now
end