class Github::Orgs::Teams

def add_member(team_name, member_name, params={})


github.orgs.teams.add_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_member(team_name, member_name, params={})
  _validate_presence_of team_name, member_name
  normalize! params
  put_request("/teams/#{team_name}/members/#{member_name}", params)
end