Sha256: 12e8d7938e78d0dcf0f843c569a5e8250a770d8388b314f89550c5ad28a8336d
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module CoinMarketCapitalization # Blockchain class - contains methods that map to API endpoints for blockchain data. # This category currently includes 1 endpoint class Blockchain < Base BASE_URL = "https://pro-api.coinmarketcap.com/v1/blockchain" def initialize(api_key:, base_url: BASE_URL, adapter: Faraday.default_adapter) super end def statistics_latest(**args) make_request("statistics/latest", **args) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coin_market_capitalization-0.1.2 | lib/coin_market_capitalization/blockchain.rb |
coin_market_capitalization-0.1.1 | lib/coin_market_capitalization/blockchain.rb |