- Removed 'get' prefix and unnecessary keyword arguments from method calls to make usage more Ruby-like.
In previous versions, getting data from CoinGecko is invoked with a method like:
client.get_price(id: 'bitcoin')
Now, it's invoked in a more Ruby-like manner by excluding unnecessary keyword arguments and absorbing additional arguments via an options
hash:
client.price('bitcoin', currency: 'usd', option_2: 'option', option_3: ...)
- Deprecated methods that were replaced by the change above. These deprecated methods can still be used but they will be removed in future versions.
- Updated docs to reflect method names and keyword arguments changes
- Updated tests to use the new methods.
- Added
Derivatives
module to fetch crypto derivatives data. - Added
Indexes
module to fetch crypto indexes data. - Added
Finance
module to fetch crypto finance data. - Added
Infos
module to fetch global crypto data. - Added
Events
module to fetch event data.
- Added basic unit tests for
Derivatives
,Indexes
,Finance
,Infos
, andEvents
modules.
- Added
YARD
documentation (params, return values, usage, and response objects) forDerivatives
,Indexes
,Finance
,Infos
, andEvents
modules.
- Added
Exchanges
module to fetch exchange data.
- Added
vcr
andwebmock
gems for testing. - Added basic unit tests for every client module.
- Added setting for
vcr
episodes to use:new_episodes
as the default:record
mode.
- Added
YARD
documentation (params, return values, usage, and response objects) for every method in client modules.
- Changed
get
method inconnection.rb
to build querystrings from theoptions
object. - Changed method definitions to accept an
options
parameter to define options when making requests.
- Initial gem release!