BigW Consortium Gitlab

project_web_hook_worker.rb 176 Bytes
class ProjectWebHookWorker
  include Sidekiq::Worker

  sidekiq_options queue: :project_web_hook

  def perform(hook_id, data)
    WebHook.find(hook_id).execute data
  end
end