class BitBucket::Client
Public Instance Methods
events(_options = {})
click to toggle source
invitations(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 49 def invitations(options = {}) @invitations ||= ApiFactory.new 'Invitations', options end
issues(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 11 def issues(options = {}) @issues ||= ApiFactory.new 'Issues', options end
oauth(options = {})
click to toggle source
An API
for users to manage their own tokens.
# File lib/bitbucket_rest_api/client.rb, line 16 def oauth(options = {}) @oauth ||= ApiFactory.new 'Request::OAuth', options end
Also aliased as: authorizations
pull_requests(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 25 def pull_requests(options = {}) @pull_requests ||= ApiFactory.new 'Repos::PullRequest', options end
repos(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 29 def repos(options = {}) @repos ||= ApiFactory.new 'Repos', options end
Also aliased as: repositories
search(_options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 34 def search(_options = {}) raise 'Unimplemented' # @search ||= ApiFactory.new 'Search', options end
teams(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 21 def teams(options = {}) @teams ||= ApiFactory.new 'Teams', options end
user_api(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 45 def user_api(options = {}) @user_api ||= ApiFactory.new 'User', options end
users(options = {})
click to toggle source
Many of the resources on the users API
provide a shortcut for getting information about the currently authenticated user.
# File lib/bitbucket_rest_api/client.rb, line 41 def users(options = {}) @users ||= ApiFactory.new 'Users', options end