diff options
author | 2011-11-10 23:20:30 +0100 | |
---|---|---|
committer | 2011-11-10 23:42:46 +0100 | |
commit | eb6b5e45f461c4967e25c64c904f0d3b2051a854 (patch) | |
tree | 33da1a5bdcea481242e11675ae1f24804e3be25b /github3/handlers/gists.py | |
parent | Some details (diff) | |
download | python-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.py | 3 |
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, |