module Github::Orgs::Teams
def add_team_member(team_name, member_name, params={})
@github.orgs.add_team_member 'team-name', '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_team_member(team_name, member_name, params={}) _validate_presence_of team_name, member_name _normalize_params_keys(params) put("/teams/#{team_name}/members/#{member_name}", params) end