aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/orgs/__init__.py
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2012-04-24 08:44:11 +0200
committerStefano Rivera <stefano@rivera.za.net>2012-04-24 09:10:50 +0200
commit5fa7037bf460d2936c935f19968239d694378f51 (patch)
tree6df42af04e15bece0541ef4ee6bd7c15724af75f /pygithub3/services/orgs/__init__.py
parentname -> org (diff)
downloadpython-github3-5fa7037bf460d2936c935f19968239d694378f51.tar.xz
python-github3-5fa7037bf460d2936c935f19968239d694378f51.zip
Add Orgs Members API
Diffstat (limited to 'pygithub3/services/orgs/__init__.py')
-rw-r--r--pygithub3/services/orgs/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pygithub3/services/orgs/__init__.py b/pygithub3/services/orgs/__init__.py
index c222956..6a75081 100644
--- a/pygithub3/services/orgs/__init__.py
+++ b/pygithub3/services/orgs/__init__.py
@@ -1,11 +1,16 @@
# -*- encoding: utf-8 -*-
from pygithub3.services.base import Service
+from .members import Members
class Org(Service):
""" Consume `Orgs API <http://developer.github.com/v3/orgs>`_ """
+ def __init__(self, **config):
+ self.members = Members(**config)
+ super(Org, self).__init__(**config)
+
def list(self, user=None):
""" Get user's orgs