web_hook_worker.rb 155 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 module Ci class WebHookWorker include Sidekiq::Worker def perform(hook_id, data) Ci::WebHook.find(hook_id).execute data end end end