summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorJames (d0c_s4vage) Johnson <james.johnson@exodusintel.com>2016-02-04 14:04:48 -0600
committerJames (d0c_s4vage) Johnson <james.johnson@exodusintel.com>2016-02-04 14:04:48 -0600
commitdb9bbf6528e792976e80f870b2013199569a0021 (patch)
tree29c4190dc69b129764c8fcebc85b0b31e89f0371 /gitlab/objects.py
parent368017c01f15013ab4cc9405c246a86e67f3b067 (diff)
downloadgitlab-db9bbf6528e792976e80f870b2013199569a0021.tar.gz
Adding new `ProjectHook` attributes:
* `build_events` * `enable_ssl_verification` See the two links below: * https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/projects.md#add-project-hook * https://github.com/pyapi-gitlab/pyapi-gitlab/pull/173
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index f8c102b..c763791 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -851,7 +851,8 @@ class ProjectHook(GitlabObject):
requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['url']
optionalCreateAttrs = ['push_events', 'issues_events',
- 'merge_requests_events', 'tag_push_events']
+ 'merge_requests_events', 'tag_push_events'
+ 'build_events', 'enable_ssl_verification']
shortPrintAttr = 'url'