Skip to content
Snippets Groups Projects
Verified Commit ccd617e5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Default values for web hooks

parent 0de7a7cf
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,6 +17,10 @@
class WebHook < ActiveRecord::Base
include HTTParty
 
default_value_for :push_events, true
default_value_for :issues_events, false
default_value_for :merge_requests_events, false
attr_accessible :url
 
# HTTParty timeout
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment