Skip to content

Commit 17f92de

Browse files
committed
Implement .profile in team.rb
1 parent c876a0b commit 17f92de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/bitbucket_rest_api/team.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ def list(user_role)
1414
response["values"].each { |el| yield el }
1515
end
1616

17+
def profile(team_name)
18+
get_request("/2.0/teams/#{team_name.to_s}")
19+
end
1720

1821
end # Users
1922
end # BitBucket

0 commit comments

Comments
 (0)