Module: Coinbase::Client

Defined in:
lib/coinbase/client/version.rb,
lib/coinbase/client.rb,
lib/coinbase/client/api_error.rb,
lib/coinbase/client/api_client.rb,
lib/coinbase/client/models/user.rb,
lib/coinbase/client/models/asset.rb,
lib/coinbase/client/models/error.rb,
lib/coinbase/client/api/users_api.rb,
lib/coinbase/client/configuration.rb,
lib/coinbase/client/models/wallet.rb,
lib/coinbase/client/models/address.rb,
lib/coinbase/client/models/balance.rb,
lib/coinbase/client/api/wallets_api.rb,
lib/coinbase/client/models/transfer.rb,
lib/coinbase/client/api/addresses_api.rb,
lib/coinbase/client/api/transfers_api.rb,
lib/coinbase/client/models/wallet_list.rb,
lib/coinbase/client/models/address_list.rb,
lib/coinbase/client/models/transfer_list.rb,
lib/coinbase/client/models/faucet_transaction.rb,
lib/coinbase/client/models/address_balance_list.rb,
lib/coinbase/client/models/create_wallet_request.rb,
lib/coinbase/client/models/create_address_request.rb,
lib/coinbase/client/models/create_transfer_request.rb,
lib/coinbase/client/models/broadcast_transfer_request.rb

Overview

#Coinbase Platform API

#This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.

The version of the OpenAPI document: 0.0.1-alpha Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.5.0

Defined Under Namespace

Classes: Address, AddressBalanceList, AddressList, AddressesApi, ApiClient, ApiError, Asset, Balance, BroadcastTransferRequest, Configuration, CreateAddressRequest, CreateTransferRequest, CreateWalletRequest, Error, FaucetTransaction, Transfer, TransferList, TransfersApi, User, UsersApi, Wallet, WalletList, WalletsApi

Constant Summary collapse

VERSION =
'0.0.1-alpha'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Coinbase::Client.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



51
52
53
54
55
56
57
# File 'lib/coinbase/client.rb', line 51

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end