Module: CoinbaseCommerceClient

Defined in:
lib/coinbase_commerce_client.rb,
lib/coinbase_commerce_client/util.rb,
lib/coinbase_commerce_client/client.rb,
lib/coinbase_commerce_client/version.rb,
lib/coinbase_commerce_client/webhooks.rb,
lib/coinbase_commerce_client/api_errors.rb,
lib/coinbase_commerce_client/api_response.rb,
lib/coinbase_commerce_client/api_resources/event.rb,
lib/coinbase_commerce_client/api_resources/charge.rb,
lib/coinbase_commerce_client/api_resources/checkout.rb,
lib/coinbase_commerce_client/api_resources/base/list.rb,
lib/coinbase_commerce_client/api_resources/base/save.rb,
lib/coinbase_commerce_client/api_resources/base/cancel.rb,
lib/coinbase_commerce_client/api_resources/base/create.rb,
lib/coinbase_commerce_client/api_resources/base/delete.rb,
lib/coinbase_commerce_client/api_resources/base/update.rb,
lib/coinbase_commerce_client/api_resources/base/resolve.rb,
lib/coinbase_commerce_client/api_resources/base/api_object.rb,
lib/coinbase_commerce_client/api_resources/base/api_resource.rb

Defined Under Namespace

Modules: APIResources, Errors, Util, Webhook Classes: Client, CoinbaseCommerceClientResponse, Configuration

Constant Summary collapse

BASE_API_URL =
'https://api.commerce.coinbase.com/'.freeze
API_VERSION =
'2018-03-22'.freeze
VERSION =
'0.4.2'

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/coinbase_commerce_client/client.rb', line 19

def self.config
  @configuration
end

.configure {|@configuration| ... } ⇒ Object

Yields:

  • (@configuration)


15
16
17
# File 'lib/coinbase_commerce_client/client.rb', line 15

def self.configure
  yield(@configuration)
end