aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-27 21:39:03 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-27 21:39:31 +0200
commitac2b75a6527e8ce916b7675dac247d37276a3aa2 (patch)
tree4a3ead072bcdee6f17fdac88e836f30ad435fd7f /pygithub3/github.py
parentMerge pull request #11 from dsc/patch-1 (diff)
parentAuthors updated (diff)
downloadpython-github3-ac2b75a6527e8ce916b7675dac247d37276a3aa2.tar.xz
python-github3-ac2b75a6527e8ce916b7675dac247d37276a3aa2.zip
Merge 'services/orgs'
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index 87c4a6d..d135865 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -19,11 +19,13 @@ class Github(object):
from pygithub3.services.gists import Gist
from pygithub3.services.git_data import GitData
from pygithub3.services.pull_requests import PullRequests
+ from pygithub3.services.orgs import Org
self._users = User(**config)
self._repos = Repo(**config)
self._gists = Gist(**config)
self._git_data = GitData(**config)
self._pull_requests = PullRequests(**config)
+ self._orgs = Org(**config)
@property
def remaining_requests(self):
@@ -65,3 +67,9 @@ class Github(object):
:ref:`Pull Requests service <Pull Requests service>`
"""
return self._pull_requests
+
+ def orgs(self):
+ """
+ :ref:`Orgs service <Orgs service>`
+ """
+ return self._orgs