summaryrefslogtreecommitdiff
path: root/app/models/hooks/system_hook.rb
blob: 777bad1e724166f6a8558f332cecee5373863c14 (plain)
1
2
3
4
5
class SystemHook < WebHook
  def async_execute(data, hook_name)
    Sidekiq::Client.enqueue(SystemHookWorker, id, data, hook_name)
  end
end