summaryrefslogtreecommitdiffstats
path: root/cli/objects/scopes.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-06-30 12:51:51 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-06-30 12:51:51 +0200
commitdbf0f00650200b8b4817274953f2e0b684bd622d (patch)
tree1bf085f2502e9704a7e1bf46cfc44aa039da5292 /cli/objects/scopes.py
parentf41b5f8f9dd5672864b2dfe995e73f259741fa8b (diff)
Rename files to remove 'og' prefix
This prefix is redundant on almost every file, so the prefix is removed from filenames and imports.
Diffstat (limited to 'cli/objects/scopes.py')
-rw-r--r--cli/objects/scopes.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/objects/scopes.py b/cli/objects/scopes.py
new file mode 100644
index 0000000..0bf3ca8
--- /dev/null
+++ b/cli/objects/scopes.py
@@ -0,0 +1,6 @@
+class OgScope():
+
+ @staticmethod
+ def list_scopes(rest):
+ r = rest.get('/scopes')
+ print(r.json())