diff options
author | 2012-04-03 12:37:18 +0200 | |
---|---|---|
committer | 2012-04-03 12:37:18 +0200 | |
commit | 3a52231c943bc59b1ddc8800f96179cbe0d1523d (patch) | |
tree | 7d65ec94eb9cc2d381ac88c07b84a05d0be6bb15 /pygithub3/github.py | |
parent | Fix bug: Validating body in requests (diff) | |
download | python-github3-3a52231c943bc59b1ddc8800f96179cbe0d1523d.tar.xz python-github3-3a52231c943bc59b1ddc8800f96179cbe0d1523d.zip |
services.gists.Gist done
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r-- | pygithub3/github.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py index 23b5b0b..1cf9b05 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -15,8 +15,10 @@ class Github(object): def __init__(self, **config): from pygithub3.services.users import User from pygithub3.services.repos import Repos + from pygithub3.services.gists import Gist self._users = User(**config) self._repos = Repos(**config) + self._gists = Gist(**config) @property def remaining_requests(self): @@ -37,3 +39,10 @@ class Github(object): :ref:`Repos service <Repos service>` """ return self._repos + + @property + def gists(self): + """ + :ref:`Gist service <Gist service>` + """ + return self._gists |