aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources
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/resources
parentname -> org (diff)
downloadpython-github3-5fa7037bf460d2936c935f19968239d694378f51.tar.xz
python-github3-5fa7037bf460d2936c935f19968239d694378f51.zip
Add Orgs Members API
Diffstat (limited to 'pygithub3/resources')
-rw-r--r--pygithub3/resources/orgs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pygithub3/resources/orgs.py b/pygithub3/resources/orgs.py
index a79395d..6e2d39b 100644
--- a/pygithub3/resources/orgs.py
+++ b/pygithub3/resources/orgs.py
@@ -18,3 +18,9 @@ class Team(Resource):
def __str__(self):
return '<Team (%s)>' % getattr(self, 'name', '')
+
+
+class Member(Resource):
+
+ def __str__(self):
+ return '<TeamMember (%s)>' % getattr(self, 'login', '')