Organization.remove_members, .add_public_members and .remove_public_members

This commit is contained in:
Vincent Jacques
2012-02-13 22:46:02 +01:00
parent 6a9b651921
commit fb38f79069
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -77,7 +77,7 @@
/orgs/:org/members/:user
========================
- GET: `` (TODO SOON)
- DELETE: `` (TODO SOON)
- DELETE: `Organization.remove_members( user )`
/orgs/:org/public_members
=========================
@@ -86,8 +86,8 @@
/orgs/:org/public_members/:user
===============================
- GET: `` (TODO SOON)
- PUT: `` (TODO SOON)
- DELETE: `` (TODO SOON)
- PUT: `Organization.add_public_members( user )`
- DELETE: `Organization.remove_public_members( user )`
/orgs/:org/repos
================
+2 -2
View File
@@ -46,8 +46,8 @@ Organization = GithubObject(
"disk_usage", "collaborators", "billing_email", "plan", "private_gists",
"total_private_repos", "owned_private_repos",
),
ExtendedListAttribute( "public_members", NamedUser ),
ExtendedListAttribute( "members", NamedUser ),
ExtendedListAttribute( "public_members", NamedUser, True, True ),
ExtendedListAttribute( "members", NamedUser, removable = True ),
Editable( [], [ "billing_email", "blog", "company", "email", "location", "name" ] ),
)