class Github::Orgs::Teams
def add_member(team_id, member_name, params={})
github.orgs.teams.add_member 'team-id', 'user-name'
github = Github.new :oauth_token => '...'
= Examples
In order to add a user to a team, the authenticated user must have ‘admin’ permissions to the team or be an owner of the org that the team is associated with.
Add a team member
def add_member(team_id, member_name, params={}) assert_presence_of team_id, member_name normalize! params put_request("/teams/#{team_id}/members/#{member_name}", params) end