summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/applications.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/applications.py')
-rw-r--r--gitlab/v4/objects/applications.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/gitlab/v4/objects/applications.py b/gitlab/v4/objects/applications.py
new file mode 100644
index 0000000..3fa1983
--- /dev/null
+++ b/gitlab/v4/objects/applications.py
@@ -0,0 +1,13 @@
+from gitlab.base import * # noqa
+from gitlab.mixins import * # noqa
+
+
+class Application(ObjectDeleteMixin, RESTObject):
+ _url = "/applications"
+ _short_print_attr = "name"
+
+
+class ApplicationManager(ListMixin, CreateMixin, DeleteMixin, RESTManager):
+ _path = "/applications"
+ _obj_cls = Application
+ _create_attrs = (("name", "redirect_uri", "scopes"), ("confidential",))