Commit ccd617e5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Default values for web hooks

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0de7a7cf
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment