class Github::Client::Orgs::Teams
def team_repo?(*args)
- Api: - public
Other tags:
- See: https://developer.github.com/v3/orgs/teams/#get-team-repo -
def team_repo?(*args) arguments(args, required: [:id, :user, :repo]) response = get_request("/teams/#{arguments.id}/repos/#{arguments.user}/#{arguments.repo}", arguments.params) response.status == 204 rescue Github::Error::NotFound false end