Module: Bucketkit

Extended by:
Configurable
Defined in:
lib/bucketkit.rb,
lib/bucketkit/client.rb,
lib/bucketkit/default.rb,
lib/bucketkit/version.rb,
lib/bucketkit/repository.rb,
lib/bucketkit/configurable.rb,
lib/bucketkit/authentication.rb,
lib/bucketkit/client/commits.rb,
lib/bucketkit/client/pull_requests.rb

Defined Under Namespace

Modules: Authentication, Configurable, Default Classes: Client, Repository

Constant Summary collapse

VERSION =
"0.0.1".freeze

Instance Attribute Summary

Attributes included from Configurable

#api_endpoint, #auto_paginate, #connection_options, #default_media_type, #login, #middleware, #oauth_tokens, #password, #per_page, #proxy, #user_agent, #web_endpoint

Class Method Summary collapse

Methods included from Configurable

configure, keys, reset!

Class Method Details

.clientObject



8
9
10
11
# File 'lib/bucketkit.rb', line 8

def client
  @client = Bucketkit::Client.new(options) unless defined?(@client) && @client.same_options?(options)
  @client
end