Method: Github::Client::Repos#teams
- Defined in:
- lib/github_api2/client/repos.rb
#teams(*args) ⇒ Object Also known as: list_teams, repo_teams, repository_teams
List teams
462 463 464 465 466 467 468 |
# File 'lib/github_api2/client/repos.rb', line 462 def teams(*args) arguments(args, required: [:user, :repo]) response = get_request("/repos/#{arguments.user}/#{arguments.repo}/teams", arguments.params) return response unless block_given? response.each { |el| yield el } end |