Registry / utility / google-currency

google-currency

JSON →
library3.4.1rbrubygemsunverified

GoogleCurrency extends Money::Bank::Base and gives you access to the current Google Currency exchange rates.

gem install google_currency
INSTALL
IMPORT
SIG · GOOGLE-CURRENCY
G
google-currency
utilityrubyv3.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GoogleCurrency
require 'google_currency'

Set up Google Currency as the default exchange rate provider and convert USD to EUR.

require 'google_currency' require 'money' Money.default_bank = GoogleCurrency.new puts Money.new(100, 'USD').exchange_to('EUR')
Debug
Known issues
gotchaGoogle Currency exchange rates may be deprecated or require an API key in newer versions.
fix
Check the gem documentation for the latest usage instructions or consider using an alternative exchange rate service.
affects: >= 3.0.0
Upgrade
Version history
3.4.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
google-currency — gem install google-currency · libregistry