Module: CoingeckoRuby::Client::Categories
- Included in:
- CoingeckoRuby::Client
- Defined in:
- lib/coingecko_ruby/client/categories.rb
Instance Method Summary collapse
-
#asset_platforms ⇒ Array<Hash>
Fetches the list of asset platforms (e.g. Ethereum, OpenLedger, Counterpart) listed in CoinGecko.
-
#categories ⇒ Array<Hash>
Fetches the list of coin categories in CoinGecko.
-
#categories_with_market_data ⇒ Array<Hash>
Fetches the list of coin categories with its respective market data.
-
#get_asset_platforms ⇒ Object
deprecated
Deprecated.
Use #asset_platforms instead
-
#get_categories ⇒ Object
deprecated
Deprecated.
Use #categories instead
-
#get_categories_with_market_data ⇒ Object
deprecated
Deprecated.
Use #categories_with_market_data instead
Instance Method Details
#asset_platforms ⇒ Array<Hash>
Fetches the list of asset platforms (e.g. Ethereum, OpenLedger, Counterpart) listed in CoinGecko.
75 76 77 |
# File 'lib/coingecko_ruby/client/categories.rb', line 75 def asset_platforms get 'asset_platforms' end |
#categories ⇒ Array<Hash>
Fetches the list of coin categories in CoinGecko.
18 19 20 |
# File 'lib/coingecko_ruby/client/categories.rb', line 18 def categories get 'coins/categories/list' end |
#categories_with_market_data ⇒ Array<Hash>
Fetches the list of coin categories with its respective market data.
52 53 54 |
# File 'lib/coingecko_ruby/client/categories.rb', line 52 def categories_with_market_data get 'coins/categories' end |
#get_asset_platforms ⇒ Object
Deprecated.
Use #asset_platforms instead
80 81 82 |
# File 'lib/coingecko_ruby/client/categories.rb', line 80 def get_asset_platforms asset_platforms end |
#get_categories ⇒ Object
Deprecated.
Use #categories instead
23 24 25 |
# File 'lib/coingecko_ruby/client/categories.rb', line 23 def get_categories categories end |
#get_categories_with_market_data ⇒ Object
Deprecated.
Use #categories_with_market_data instead
57 58 59 |
# File 'lib/coingecko_ruby/client/categories.rb', line 57 def get_categories_with_market_data categories_with_market_data end |