project_web_hook_worker.rb 255 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 class ProjectWebHookWorker include Sidekiq::Worker include DedicatedSidekiqQueue sidekiq_options retry: 4 def perform(hook_id, data, hook_name) data = data.with_indifferent_access WebHook.find(hook_id).execute(data, hook_name) end end