aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/gists.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-10 23:20:30 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-10 23:42:46 +0100
commiteb6b5e45f461c4967e25c64c904f0d3b2051a854 (patch)
tree33da1a5bdcea481242e11675ae1f24804e3be25b /github3/handlers/gists.py
parentSome details (diff)
downloadpython-github3-eb6b5e45f461c4967e25c64c904f0d3b2051a854.tar.xz
python-github3-eb6b5e45f461c4967e25c64c904f0d3b2051a854.zip
Init test enviroment
Also rename user handler module to 'users'
Diffstat (limited to 'github3/handlers/gists.py')
-rw-r--r--github3/handlers/gists.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/github3/handlers/gists.py b/github3/handlers/gists.py
index 15f215c..fa961b2 100644
--- a/github3/handlers/gists.py
+++ b/github3/handlers/gists.py
@@ -20,6 +20,9 @@ class Gist(Handler):
return self._get_resource(gist_id, model=models.Gist)
+
+class AuthGist(Gist):
+
def create_gist(self, description, public=True, files={}):
""" Create a gist """
data = {'description': description,