Default values for web hooks

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-02-27 15:56:35 +02:00
parent 0de7a7cfcd
commit ccd617e58e
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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