summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index c47ed47..5166b08 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -811,6 +811,30 @@ class NotificationSettingsManager(BaseManager):
obj_cls = NotificationSettings
+class Gitignore(GitlabObject):
+ _url = '/templates/gitignores'
+ canDelete = False
+ canUpdate = False
+ canCreate = False
+ idAttr = 'name'
+
+
+class GitignoreManager(BaseManager):
+ obj_cls = Gitignore
+
+
+class Gitlabciyml(GitlabObject):
+ _url = '/templates/gitlab_ci_ymls'
+ canDelete = False
+ canUpdate = False
+ canCreate = False
+ idAttr = 'name'
+
+
+class GitlabciymlManager(BaseManager):
+ obj_cls = Gitlabciyml
+
+
class GroupIssue(GitlabObject):
_url = '/groups/%(group_id)s/issues'
canGet = 'from_list'