Sha256: af80edf8ff929d16aa92433cd07a4c7ba0ee9b381bc1cf411553ca3469df544a
Contents?: true
Size: 734 Bytes
Versions: 1
Compression:
Stored size: 734 Bytes
Contents
# encoding: utf-8 module BitBucket class Users::Account < API # API about users/account , please refer to # https://confluence.atlassian.com/display/BITBUCKET/account+Resource # # GET the account profile # def profile(accountname) response = get_request("/users/#{accountname}") end # GET the account plan def plan(accountname) response = get_request("/users/#{accountname}/plan") end # GET the followers def followers(accountname) response = get_request("/users/#{accountname}/followers") end # GET the events def events(accountname) response = get_request("/users/#{accountname}/events") end end # Users::Account end # BitBucket
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbucket_rest_api-0.1.4 | lib/bitbucket_rest_api/users/account.rb |