Class: BitBucket::Client
Defined Under Namespace
Classes: Invitations, Issues, Repos, User, Users, Users
Constant Summary
Constants included from Validations
Constants included from Validations::Token
Validations::Token::TOKEN_REQUIRED, Validations::Token::TOKEN_REQUIRED_REGEXP
Constants included from Constants
BitBucket::Constants::ACCEPT, BitBucket::Constants::ACCEPT_CHARSET, BitBucket::Constants::CACHE_CONTROL, BitBucket::Constants::CONTENT_LENGTH, BitBucket::Constants::CONTENT_TYPE, BitBucket::Constants::DATE, BitBucket::Constants::ETAG, BitBucket::Constants::LOCATION, BitBucket::Constants::META_FIRST, BitBucket::Constants::META_LAST, BitBucket::Constants::META_NEXT, BitBucket::Constants::META_PREV, BitBucket::Constants::META_REL, BitBucket::Constants::PARAM_PAGE, BitBucket::Constants::PARAM_START_PAGE, BitBucket::Constants::QUERY_STR_SEP, BitBucket::Constants::RATELIMIT_LIMIT, BitBucket::Constants::RATELIMIT_REMAINING, BitBucket::Constants::SERVER, BitBucket::Constants::USER_AGENT
Instance Attribute Summary
Attributes inherited from API
Instance Method Summary collapse
-
#events(options = {}) ⇒ Object
This is a read-only API to the BitBucket events.
-
#oauth(options = {}) ⇒ Object
(also: #authorizations)
An API for users to manage their own tokens.
- #search(options = {}) ⇒ Object
- #teams(options = {}) ⇒ Object
Methods inherited from API
#_merge_user_into_params!, #_merge_user_repo_into_params!, #_update_user_repo_params, #api_methods_in, #append_arguments, #arguments, extract_class_name, inherited, #initialize, #method_missing, namespace, #process_basic_auth, #set, #set_api_client, #setup, #with, #yield_or_eval
Methods included from ClassMethods
#configuration, #configure, #require_all
Methods included from Normalizer
Methods included from ParameterFilter
Methods included from Validations::Required
Methods included from Validations::Token
Methods included from Validations::Format
Methods included from Validations::Presence
Methods included from Request::Verbs
#delete_request, #get_request, #options_request, #patch_request, #post_request, #put_request
Methods included from Authorization
#authenticated?, #authentication, #basic_authed?
Constructor Details
This class inherits a constructor from BitBucket::API
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BitBucket::API
Instance Method Details
#events(options = {}) ⇒ Object
This is a read-only API to the BitBucket events. These events power the various activity streams on the site.
32 33 34 35 |
# File 'lib/bitbucket_rest_api/client.rb', line 32 def events( = {}) raise "Unimplemented" #@events ||= Api::Factory.new 'Events', options end |
#oauth(options = {}) ⇒ Object Also known as:
An API for users to manage their own tokens.
38 39 40 41 |
# File 'lib/bitbucket_rest_api/client.rb', line 38 def oauth( = {}) raise "Unimpletmented" #@oauth ||= Api::Factory.new 'Authorizations', options end |
#search(options = {}) ⇒ Object
49 50 51 52 |
# File 'lib/bitbucket_rest_api/client.rb', line 49 def search( = {}) raise "Unimplemented" #@search ||= Api::Factory.new 'Search', options end |
#teams(options = {}) ⇒ Object
44 45 46 47 |
# File 'lib/bitbucket_rest_api/client.rb', line 44 def teams( = {}) raise "Unimplemented" #@teams ||= Api::Factory.new 'teams', options end |