Skip to content

Commit 1c05a9b

Browse files
Add /users/account_name/emails API route
1 parent 7123ed4 commit 1c05a9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/bitbucket_rest_api/users/account.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ def plan(accountname)
1919
response = get_request("/users/#{accountname}/plan")
2020
end
2121

22+
# GET the emails
23+
def emails(accountname)
24+
response = get_request("/users/#{accountname}/emails")
25+
end
26+
2227
# GET the followers
2328
def followers(accountname)
2429
response = get_request("/users/#{accountname}/followers")

0 commit comments

Comments
 (0)