Module: CoinmarketcapClient
- Defined in:
- lib/coinmarketcap_client/version.rb,
lib/coinmarketcap_client.rb,
lib/coinmarketcap_client/api_error.rb,
lib/coinmarketcap_client/api_client.rb,
lib/coinmarketcap_client/models/quote.rb,
lib/coinmarketcap_client/configuration.rb,
lib/coinmarketcap_client/models/status.rb,
lib/coinmarketcap_client/api/default_api.rb,
lib/coinmarketcap_client/models/platform.rb,
lib/coinmarketcap_client/models/cryptocurrency_map.rb,
lib/coinmarketcap_client/models/cryptocurrency_info.rb,
lib/coinmarketcap_client/models/inline_response_200.rb,
lib/coinmarketcap_client/models/global_metrics_quote.rb,
lib/coinmarketcap_client/models/inline_response_200_1.rb,
lib/coinmarketcap_client/models/inline_response_200_2.rb,
lib/coinmarketcap_client/models/inline_response_200_3.rb,
lib/coinmarketcap_client/models/inline_response_200_4.rb,
lib/coinmarketcap_client/models/inline_response_200_5.rb,
lib/coinmarketcap_client/models/inline_response_200_6.rb,
lib/coinmarketcap_client/models/inline_response_200_7.rb,
lib/coinmarketcap_client/models/inline_response_200_8.rb,
lib/coinmarketcap_client/models/inline_response_200_9.rb,
lib/coinmarketcap_client/models/cryptocurrency_listings.rb,
lib/coinmarketcap_client/models/inline_response_default.rb,
lib/coinmarketcap_client/models/cryptocurrency_info_urls.rb,
lib/coinmarketcap_client/models/inline_response_default_1.rb,
lib/coinmarketcap_client/models/inline_response_200_4_data.rb,
lib/coinmarketcap_client/models/global_metrics_quotes_latest.rb,
lib/coinmarketcap_client/models/global_metrics_historical_quote.rb,
lib/coinmarketcap_client/models/global_metrics_quotes_historical.rb
Overview
#Coinmarketcap API Swagger Implementation
#Define coinmarketcap’s api in swagger 2.0 openapi standard
OpenAPI spec version: 1.0.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.4
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, CryptocurrencyInfo, CryptocurrencyInfoUrls, CryptocurrencyListings, CryptocurrencyMap, DefaultApi, GlobalMetricsHistoricalQuote, GlobalMetricsQuote, GlobalMetricsQuotesHistorical, GlobalMetricsQuotesLatest, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2004Data, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, InlineResponseDefault, InlineResponseDefault1, Platform, Quote, Status
Constant Summary collapse
- VERSION =
'1.0.2'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
CoinmarketcapClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
56 57 58 59 60 61 62 |
# File 'lib/coinmarketcap_client.rb', line 56 def configure if block_given? yield(Configuration.default) else Configuration.default end end |