Class: ProjectServiceWorker

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

Instance Method Summary collapse

Instance Method Details

#perform(hook_id, data) ⇒ Object


6
7
8
9
# File 'app/workers/project_service_worker.rb', line 6

def perform(hook_id, data)
  data = data.with_indifferent_access
  Service.find(hook_id).execute(data)
end