class Github::Orgs::Teams

def team_repo?(*args)


github.orgs.teams.team_repo? 'team-id', 'user-name', 'repo-name'
github = Github.new :oauth_token => '...'
= Examples

Check if a repository belongs to a team
def team_repo?(*args)
  arguments(args, :required => [:team_id, :user, :repo])
  response = get_request("/teams/#{team_id}/repos/#{user}/#{repo}", arguments.params)
  response.status == 204
rescue Github::Error::NotFound
  false
end