Class: VersionNotificationsWorker

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

Instance Method Summary collapse

Instance Method Details

#perform(version_id) ⇒ Object



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

def perform(version_id)
  Version.find_by_id(version_id).try(:send_notifications)
end