class Money::Bank::VariableExchange

Defined in:

money/bank/variable_exchange.cr

Instance Method Summary

Instance methods inherited from class Money::Bank

exchange(from : Money, to : Currency) : Money exchange, store : Currency::RateStore store, store=(store : Currency::RateStore | Nil) store=

Constructor methods inherited from class Money::Bank

new(store : Money::Currency::RateStore | Nil = nil) new

Instance Method Detail

def exchange(from : Money, to : Currency) : Money #
Description copied from class Money::Bank

Exchanges the given Money object to a new Money object in to Currency.


[View source]