-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ruby client for cdp service (#7)
### What changed? Why? Update ruby client for cdp backend #### Qualified Impact <!-- Please evaluate what components could be affected and what the impact would be if there was an error. How would this error be resolved, e.g. rollback a deploy, push a new fix, disable a feature flag, etc... -->
- Loading branch information
Showing
20 changed files
with
3,987 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Gemfile.lock | ||
.yardoc | ||
.yardoc | ||
lib/**/.DS_Store | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# frozen_string_literal: true | ||
=begin | ||
#Coinbase Platform API | ||
# #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.alpha | ||
# Contact: [email protected] | ||
# Generated by: https://openapi-generator.tech | ||
# Generator version: 7.5.0 | ||
#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: https://openapi-generator.tech | ||
Generator version: 7.5.0 | ||
=end | ||
|
||
# Common files | ||
require 'coinbase/client/api_client' | ||
|
@@ -14,26 +17,36 @@ | |
require 'coinbase/client/configuration' | ||
|
||
# Models | ||
Coinbase::Client.autoload :Address, 'coinbase/client/models/address' | ||
Coinbase::Client.autoload :AddressBalanceList, 'coinbase/client/models/address_balance_list' | ||
Coinbase::Client.autoload :AddressList, 'coinbase/client/models/address_list' | ||
Coinbase::Client.autoload :Asset, 'coinbase/client/models/asset' | ||
Coinbase::Client.autoload :Balance, 'coinbase/client/models/balance' | ||
Coinbase::Client.autoload :CreateAddressRequest, 'coinbase/client/models/create_address_request' | ||
Coinbase::Client.autoload :CreateWalletRequest, 'coinbase/client/models/create_wallet_request' | ||
Coinbase::Client.autoload :Error, 'coinbase/client/models/error' | ||
Coinbase::Client.autoload :User, 'coinbase/client/models/user' | ||
Coinbase::Client.autoload :Wallet, 'coinbase/client/models/wallet' | ||
Coinbase::Client.autoload :WalletList, 'coinbase/client/models/wallet_list' | ||
|
||
# APIs | ||
Coinbase::Client.autoload :AddressesApi, 'coinbase/client/api/addresses_api' | ||
Coinbase::Client.autoload :UsersApi, 'coinbase/client/api/users_api' | ||
Coinbase::Client.autoload :WalletsApi, 'coinbase/client/api/wallets_api' | ||
|
||
module Coinbase | ||
module Client | ||
class << self | ||
# 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. | ||
def configure | ||
if block_given? | ||
yield(Configuration.default) | ||
else | ||
Configuration.default | ||
end | ||
module Coinbase::Client | ||
class << self | ||
# 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. | ||
def configure | ||
if block_given? | ||
yield(Configuration.default) | ||
else | ||
Configuration.default | ||
end | ||
end | ||
end | ||
|
Oops, something went wrong.