330789c23c
* 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
6 lines
204 B
Ruby
6 lines
204 B
Ruby
class SystemHook < WebHook
|
|
scope :repository_update_hooks, -> { where(repository_update_events: true) }
|
|
|
|
default_value_for :push_events, false
|
|
default_value_for :repository_update_events, true
|
|
end
|