gitlab-org--gitlab-foss/app/models/hooks/service_hook.rb
Alexander Randa 330789c23c Implement web hooks logging
* implemented logging of project and system web hooks
* implemented UI for user area (project hooks)
* implemented UI for admin area (system hooks)
* implemented retry of logged webhook
* NOT imeplemented log remover
2017-05-25 10:07:52 +03:00

7 lines
140 B
Ruby

class ServiceHook < WebHook
belongs_to :service
def execute(data)
WebHookService.new(self, data, 'service_hook').execute
end
end