module Github::Orgs::Teams

def team_repo?(team_name, user_name, repo_name, params={})


@github.orgs.team_repo? 'team-name'
@github = Github.new :oauth_token => '...'
= Examples

Check if a repository belongs to a team
def team_repo?(team_name, user_name, repo_name, params={})
  _validate_presence_of team_name, user_name, repo_name
  _normalize_params_keys(params)
  get("/teams/#{team_name}/repos/#{user_name}/#{repo_name}", params)
  true
rescue Github::ResourceNotFound
  false
end