Class: CoinMarketCapitalization::Key
- Defined in:
- lib/coin_market_capitalization/key.rb
Overview
Key class - contains methods that map to API endpoints for managing your API key. This category currently includes 1 endpoint
Constant Summary collapse
- BASE_URL =
"https://pro-api.coinmarketcap.com/v1/key"
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #info(**args) ⇒ Object
-
#initialize(api_key:, base_url: BASE_URL, adapter: Faraday.default_adapter) ⇒ Key
constructor
A new instance of Key.
Methods inherited from Base
Constructor Details
Instance Method Details
#info(**args) ⇒ Object
13 14 15 |
# File 'lib/coin_market_capitalization/key.rb', line 13 def info(**args) make_request("info", **args) end |