debian-mirror-gitlab/app/models/hooks/system_hook.rb

6 lines
141 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class SystemHook < WebHook
2016-06-02 11:05:42 +05:30
def async_execute(data, hook_name)
Sidekiq::Client.enqueue(SystemHookWorker, id, data, hook_name)
end
2014-09-02 18:07:02 +05:30
end