Class: WorkUnitNotifierWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/work_unit_notifier_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(work_unit_id, addresses = []) ⇒ Object



4
5
6
# File 'app/workers/work_unit_notifier_worker.rb', line 4

def perform work_unit_id, addresses=[]
  Notifier.work_unit_notification(work_unit_id, addresses).deliver
end