debian-mirror-gitlab/app/workers/ci/web_hook_worker.rb

10 lines
155 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
module Ci
class WebHookWorker
include Sidekiq::Worker
def perform(hook_id, data)
Ci::WebHook.find(hook_id).execute data
end
end
end