class Github::Orgs::Teams
def add_repo(*args)
github.orgs.teams.add_repo 'team-id', 'user-name', 'repo-name'
github = Github.new :oauth_token => '...'
= Examples
by the organization.
must be owned by the organization, or a direct for of a repo owned
an owner of the org that the team is associated with. Also, the repo
In order to add a repo to a team, the authenticated user must be
Add a team repository
def add_repo(*args) arguments(args, :required => [:team_id, :user, :repo]) put_request("/teams/#{team_id}/repos/#{user}/#{repo}", arguments.params) end