Skip to content

Commit db9bbf6

Browse files
committed
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 * pyapi-gitlab/pyapi-gitlab#173
1 parent 368017c commit db9bbf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitlab/objects.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,8 @@ class ProjectHook(GitlabObject):
851851
requiredUrlAttrs = ['project_id']
852852
requiredCreateAttrs = ['url']
853853
optionalCreateAttrs = ['push_events', 'issues_events',
854-
'merge_requests_events', 'tag_push_events']
854+
'merge_requests_events', 'tag_push_events'
855+
'build_events', 'enable_ssl_verification']
855856
shortPrintAttr = 'url'
856857

857858

0 commit comments

Comments
 (0)