diff --git a/Reference.md b/Reference.md index bc342ba9..e290fd75 100644 --- a/Reference.md +++ b/Reference.md @@ -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 ================ diff --git a/github/GithubObjects.py b/github/GithubObjects.py index 22485f34..5c74bcc0 100644 --- a/github/GithubObjects.py +++ b/github/GithubObjects.py @@ -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" ] ), )