Class: CoingeckoRuby::Client

Inherits:
Object
  • Object
show all
Includes:
Categories, Coins, Derivatives, Events, Exchanges, Finance, Indexes, Infos, Prices, Status, Connection
Defined in:
lib/coingecko_ruby/client.rb,
lib/coingecko_ruby/client/coins.rb,
lib/coingecko_ruby/client/infos.rb,
lib/coingecko_ruby/client/events.rb,
lib/coingecko_ruby/client/prices.rb,
lib/coingecko_ruby/client/status.rb,
lib/coingecko_ruby/client/finance.rb,
lib/coingecko_ruby/client/indexes.rb,
lib/coingecko_ruby/client/exchanges.rb,
lib/coingecko_ruby/client/categories.rb,
lib/coingecko_ruby/client/derivatives.rb

Defined Under Namespace

Modules: Categories, Coins, Derivatives, Events, Exchanges, Finance, Indexes, Infos, Prices, Status

Constant Summary

Constants included from Connection

CoingeckoRuby::Connection::BASE_URL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Infos

#get_global_crypto_data, #get_global_defi_data, #get_status_updates, #get_trending_searches, #global_crypto_data, #global_defi_data, #status_updates, #trending_searches

Methods included from Events

#event_countries, #event_types, #events, #get_event_countries, #get_event_types, #get_events

Methods included from Derivatives

#derivative_exchange, #derivative_exchanges, #derivative_exchanges_ids_and_names, #derivatives, #get_derivative_exchange, #get_derivative_exchanges, #get_derivative_exchanges_ids_and_names, #get_derivatives

Methods included from Finance

#finance_platforms, #finance_products, #get_finance_platforms, #get_finance_products

Methods included from Indexes

#get_indexes, #get_indexes_by_market_and_index, #get_indexes_ids, #index_ids, #indexes, #indexes_by_market_and_coin

Methods included from Exchanges

#exchange, #exchange_ids, #exchange_status, #exchange_tickers, #exchange_volume, #exchanges, #get_exchange_data, #get_exchange_status_updates, #get_exchange_tickers, #get_exchange_volume, #get_exchanges, #get_exchanges_ids

Methods included from Categories

#asset_platforms, #categories, #categories_with_market_data, #get_asset_platforms, #get_categories, #get_categories_with_market_data

Methods included from Coins

#coin, #coins_list, #get_coin_data, #get_markets, #get_tickers, #markets, #tickers

Methods included from Prices

#daily_historical_price, #exchange_rate, #get_daily_historical_prices, #get_exchange_rate, #get_historical_price_on_date, #get_hourly_historical_prices, #get_minutely_historical_prices, #get_ohlc, #get_price, #historical_price, #hourly_historical_price, #minutely_historical_price, #ohlc, #price, #prices, #supported_currencies

Methods included from Status

#status

Methods included from Connection

#get

Constructor Details

#initializeClient

Returns a new instance of Client.



29
30
31
# File 'lib/coingecko_ruby/client.rb', line 29

def initialize
  @client = self
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



27
28
29
# File 'lib/coingecko_ruby/client.rb', line 27

def client
  @client
end