class Github::Client::Orgs::Teams

def list(*args)

Other tags:
    Api: - public

Other tags:
    See: https://developer.github.com/v3/orgs/teams/#list-teams -
def list(*args)
  params = arguments(args).params
  if (org = params.delete('org'))
    response = get_request("/orgs/#{org}/teams", params)
  else
    response = get_request('/user/teams', params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end