debian-mirror-gitlab/app/models/hooks/system_hook.rb
2016-06-02 11:05:42 +05:30

5 lines
141 B
Ruby

class SystemHook < WebHook
def async_execute(data, hook_name)
Sidekiq::Client.enqueue(SystemHookWorker, id, data, hook_name)
end
end