From 5fa7037bf460d2936c935f19968239d694378f51 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 24 Apr 2012 08:44:11 +0200 Subject: Add Orgs Members API --- pygithub3/services/orgs/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pygithub3/services/orgs/__init__.py') 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 `_ """ + def __init__(self, **config): + self.members = Members(**config) + super(Org, self).__init__(**config) + def list(self, user=None): """ Get user's orgs -- cgit v1.2.3-59-g8ed1b