debian-mirror-gitlab/app/workers/ci/web_hook_worker.rb
2015-09-25 12:07:36 +05:30

9 lines
155 B
Ruby

module Ci
class WebHookWorker
include Sidekiq::Worker
def perform(hook_id, data)
Ci::WebHook.find(hook_id).execute data
end
end
end