Welcome to mirror list, hosted at ThFree Co, Russian Federation.

service_hook.rb « hooks « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aef11514945cf4ccab824b20fc57327c83b51745 (plain)
1
2
3
4
5
6
7
8
class ServiceHook < WebHook
  belongs_to :service
  validates :service, presence: true

  def execute(data)
    WebHookService.new(self, data, 'service_hook').execute
  end
end