diff options
Diffstat (limited to 'ogcli/objects')
-rw-r--r-- | ogcli/objects/og_scopes.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcli/objects/og_scopes.py b/ogcli/objects/og_scopes.py new file mode 100644 index 0000000..0bf3ca8 --- /dev/null +++ b/ogcli/objects/og_scopes.py @@ -0,0 +1,6 @@ +class OgScope(): + + @staticmethod + def list_scopes(rest): + r = rest.get('/scopes') + print(r.json()) |