diff options
| author | 2012-04-24 08:44:11 +0200 | |
|---|---|---|
| committer | 2012-04-24 09:10:50 +0200 | |
| commit | 5fa7037bf460d2936c935f19968239d694378f51 (patch) | |
| tree | 6df42af04e15bece0541ef4ee6bd7c15724af75f /pygithub3/services/orgs/__init__.py | |
| parent | name -> org (diff) | |
| download | python-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__.py | 5 |
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 |
