summaryrefslogtreecommitdiff
path: root/docs/gl_objects/snippets.py
diff options
context:
space:
mode:
authorMatus Ferech <matus.ferech@telekom.com>2018-04-13 11:59:37 +0200
committerMatus Ferech <matus.ferech@telekom.com>2018-04-13 11:59:37 +0200
commit505c74907fca52d315b273033e3d62643623425b (patch)
treeeb74f5065a5a90e4c49c1341b314befb6e60b8e5 /docs/gl_objects/snippets.py
parentf3533cd7b4c84454a78644af6f2f2c1a16bbe109 (diff)
downloadgitlab-505c74907fca52d315b273033e3d62643623425b.tar.gz
Change method for getting content of snippet
Diffstat (limited to 'docs/gl_objects/snippets.py')
-rw-r--r--docs/gl_objects/snippets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gl_objects/snippets.py b/docs/gl_objects/snippets.py
index f32a11e..8edacfd 100644
--- a/docs/gl_objects/snippets.py
+++ b/docs/gl_objects/snippets.py
@@ -9,7 +9,7 @@ public_snippets = gl.snippets.public()
# get
snippet = gl.snippets.get(snippet_id)
# get the content
-content = snippet.raw()
+content = snippet.content()
# end get
# create