Module: Bitbuckit::Client::Teams

Included in:
Bitbuckit::Client
Defined in:
lib/bitbuckit/client/teams.rb

Instance Method Summary collapse

Instance Method Details

#team_repositories(team, options = {}) ⇒ Object



8
9
10
# File 'lib/bitbuckit/client/teams.rb', line 8

def team_repositories(team, options = {})
  paginate("repositories/#{team}")
end

#teams(role = "member", options = {}) ⇒ Object



4
5
6
# File 'lib/bitbuckit/client/teams.rb', line 4

def teams(role = "member", options = {})
  paginate("teams", role: role)
end