module Github::Orgs::Teams
def add_team_repo(team_name, user_name, repo_name, params={})
@github.orgs.add_team_repo 'team-name', 'user-name', 'repo-name'
@github = Github.new :oauth_token => '...'
= Examples
an owner of the org that the team is associated with.
In order to add a repo to a team, the authenticated user must be
Add a team repository
def add_team_repo(team_name, user_name, repo_name, params={}) _validate_presence_of team_name, user_name, repo_name _normalize_params_keys(params) put("/teams/#{team_name}/repos/#{user_name}/#{repo_name}", params) end