We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8080a1c commit 806455cCopy full SHA for 806455c
lib/Github/Api/Organization/Members.php
@@ -44,6 +44,11 @@ public function check($organization, $username)
44
return $this->get('orgs/'.rawurlencode($organization).'/public_members/'.rawurlencode($username));
45
}
46
47
+ public function addMember($team, $username)
48
+ {
49
+ return $this->put('orgs/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
50
+ }
51
+
52
public function publicize($organization, $username)
53
{
54
return $this->put('orgs/'.rawurlencode($organization).'/public_members/'.rawurlencode($username));
0 commit comments