Money::Bank
Inherits Reference / Object
Constructors
Class methods
default_store
It defaults to using an in-memory, thread safe store instance for storing exchange rates.
default_store=(default_store : Currency::RateStore)
It defaults to using an in-memory, thread safe store instance for storing exchange rates.
Instance methods
Exchanges the given Money object to a new Money object in
to Currency.
store=(store : Currency::RateStore)
An exchange Currency::RateStore object, used to persist exchange rate pairs.