Class: NotifyUpdateWorker

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

Instance Method Summary collapse

Instance Method Details

#perform(update_id) ⇒ Object



5
6
7
8
# File 'app/workers/notify_update_worker.rb', line 5

def perform(update_id)
  update = Update.find(update_id)
  update.notify_backers
end