summaryrefslogtreecommitdiff
path: root/docs/gl_objects/snippets.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-12-26 07:04:48 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2016-12-26 07:08:02 +0100
commit745389501281d9bcc069e86b1b41e1936132af27 (patch)
tree88813c689ce1b2f5ff817725efd14a30c0f7e2a7 /docs/gl_objects/snippets.py
parentbd7d2f6d254f55fe422aa21c9e568b8d213995b8 (diff)
downloadgitlab-745389501281d9bcc069e86b1b41e1936132af27.tar.gz
SnippetManager: all() -> public()
Rename the method to make what it does more explicit.
Diffstat (limited to 'docs/gl_objects/snippets.py')
-rw-r--r--docs/gl_objects/snippets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/snippets.py b/docs/gl_objects/snippets.py
index ca316c2..e865b0a 100644
--- a/docs/gl_objects/snippets.py
+++ b/docs/gl_objects/snippets.py
@@ -2,6 +2,10 @@
snippets = gl.snippets.list()
# end list
+# public list
+public_snippets = gl.snippets.public()
+# nd public list
+
# get
snippet = gl.snippets.get(snippet_id)
# get the content