project_service_worker.rb 205 Bytes
Newer Older
1 2
class ProjectServiceWorker
  include Sidekiq::Worker
3
  include DedicatedSidekiqQueue
4 5

  def perform(hook_id, data)
6
    data = data.with_indifferent_access
7 8 9
    Service.find(hook_id).execute(data)
  end
end