BigW Consortium Gitlab

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

  sidekiq_options queue: :project_web_hook

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