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 51 def invitations(options = {}) @invitations ||= ApiFactory.new "Invitations", options end
issues(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 13 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 18 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 27 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 31 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 36 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 23 def teams(options = {}) @teams ||= ApiFactory.new 'Teams', options end
user_api(options = {})
click to toggle source
# File lib/bitbucket_rest_api/client.rb, line 47 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 43 def users(options = {}) @users ||= ApiFactory.new 'Users', options end