Class: ServiceHook

Inherits:
WebHook
  • Object
show all
Defined in:
app/models/hooks/service_hook.rb

Overview

Schema Information

Table name: web_hooks

id                      :integer          not null, primary key
url                     :string(2000)
project_id              :integer
created_at              :datetime
updated_at              :datetime
type                    :string           default("ProjectHook")
service_id              :integer
push_events             :boolean          default(TRUE), not null
issues_events           :boolean          default(FALSE), not null
merge_requests_events   :boolean          default(FALSE), not null
tag_push_events         :boolean          default(FALSE)
note_events             :boolean          default(FALSE), not null
enable_ssl_verification :boolean          default(TRUE)
build_events            :boolean          default(FALSE), not null
wiki_page_events        :boolean          default(FALSE), not null
token                   :string

Instance Method Summary collapse

Methods inherited from WebHook

#async_execute

Instance Method Details

#execute(data) ⇒ Object


26
27
28
# File 'app/models/hooks/service_hook.rb', line 26

def execute(data)
  super(data, 'service_hook')
end