Module: CoingeckoRuby::Client::Status

Included in:
CoingeckoRuby::Client
Defined in:
lib/coingecko_ruby/client/status.rb

Instance Method Summary collapse

Instance Method Details

#statusHash

Fetches CoinGecko’s API status.

Examples:

Fetch CoinGecko’s API status.

client.status

Returns:

  • (Hash)

    returns CoinGecko’s API status.



10
11
12
# File 'lib/coingecko_ruby/client/status.rb', line 10

def status
  get 'ping'
end