Module: Coincap

Defined in:
lib/coincap.rb,
lib/coincap/rates.rb,
lib/coincap/assets.rb,
lib/coincap/helper.rb,
lib/coincap/markets.rb,
lib/coincap/version.rb,
lib/coincap/exchanges.rb,
lib/coincap/live_assets.rb

Overview

CoinCap 2.0 RESTful API is currently in production! The CoinCap team is excited to offer you new endpoints and more clarity on pricing!

CoinCap 2.0 launched on September 26, 2018. Please let us know what you like, what you would hope to see, or any bugs/changes that you’d like to document.

The easiest way to submit feedback to our team is to fill out a support ticket here. The old CoinCap API is deprecated and was shut down on March 1, 2019.

For any issues with transitioning from the old CoinCap API to the new, please submit feedback via the zendesk link above!

Defined Under Namespace

Modules: Assets, Exchanges, Helper, Markets, Rates Classes: Configuration, LiveAssets

Constant Summary collapse

BASE_URI =
'https://api.coincap.io/'
VERSION_API =
'v2'
VERSION =
"#{MAJOR}.#{MINOR}.#{PATCH}"

Class Method Summary collapse

Class Method Details

.configCoincap::Configuration

Configuration the Coincap API



39
40
41
# File 'lib/coincap.rb', line 39

def config
  @config ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Configuration the Coincap API

Yields:



44
45
46
# File 'lib/coincap.rb', line 44

def self.configure
  yield config
end