diff options
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, |