class BitBucket::Client

Public Instance Methods

authorizations(options = {})
Alias for: oauth
events(options = {}) click to toggle source

This is a read-only API to the BitBucket events. These events power the various activity streams on the site.

# File lib/bitbucket_rest_api/client.rb, line 8
def events(options = {})
  raise "Unimplemented"
  #@events ||= ApiFactory.new 'Events', options
end
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
repositories(options = {})
Alias for: repos
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