summaryrefslogtreecommitdiff
path: root/app/workers/project_service_worker.rb
blob: 75c4b8b36632e231a7bf363a3e44c923b1ff8158 (plain)
1
2
3
4
5
6
7
8
9
10
class ProjectServiceWorker
  include ApplicationWorker

  sidekiq_options dead: false

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