Class: CoinMarketCapitalization::Content
- Defined in:
- lib/coin_market_capitalization/content.rb
Overview
Content class - contains methods that map to API endpoints for content data. This category currently includes 4 endpoints
Constant Summary collapse
- BASE_URL =
"https://pro-api.coinmarketcap.com/v1/content"- END_POINT_ENTRIES =
%w[ latest posts/top posts/latest posts/comments ].freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(api_key:, base_url: BASE_URL, adapter: Faraday.default_adapter) ⇒ Content
constructor
A new instance of Content.