summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-09-24 12:34:16 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2015-09-24 12:34:16 -0400
commiteb912a534bee312d5d5e5bcc44767860c1c41864 (patch)
tree90cb9c85464dde562f5af1057c93cee6577e78b5 /lib/api/project_hooks.rb
parentb07f48d52e5846fc266d19ef1291fd8167fb1d33 (diff)
downloadgitlab-ce-eb912a534bee312d5d5e5bcc44767860c1c41864.tar.gz
api: add enable_ssl_verification to PUT/POST hooks
Diffstat (limited to 'lib/api/project_hooks.rb')
-rw-r--r--lib/api/project_hooks.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb
index ad4d2e65dfd..882d1a083ad 100644
--- a/lib/api/project_hooks.rb
+++ b/lib/api/project_hooks.rb
@@ -44,7 +44,8 @@ module API
:issues_events,
:merge_requests_events,
:tag_push_events,
- :note_events
+ :note_events,
+ :enable_ssl_verification
]
@hook = user_project.hooks.new(attrs)
@@ -75,7 +76,8 @@ module API
:issues_events,
:merge_requests_events,
:tag_push_events,
- :note_events
+ :note_events,
+ :enable_ssl_verification
]
if @hook.update_attributes attrs