gitlab-org--gitlab-foss/app/models/hooks/service_hook.rb

12 lines
227 B
Ruby

# frozen_string_literal: true
class ServiceHook < WebHook
include Presentable
belongs_to :service
validates :service, presence: true
def execute(data, hook_name = 'service_hook')
super(data, hook_name)
end
end