BigW Consortium Gitlab

system_hook_worker.rb 186 Bytes
Newer Older
Valeriy Sizov committed
1
class SystemHookWorker
Dmitriy Zaporozhets committed
2
  include Sidekiq::Worker
3
  include DedicatedSidekiqQueue
Dmitriy Zaporozhets committed
4

5 6
  def perform(hook_id, data, hook_name)
    SystemHook.find(hook_id).execute(data, hook_name)
Valeriy Sizov committed
7 8
  end
end