class Money::RatesStore::Memory

Memory class

Public Instance Methods

reset!(rt = {}) click to toggle source

Add method to reset the build in memory store @param [Hash] rt Optional initial exchange rate data. @return [Object] store.

# File lib/money/bank/openexchangerates_bank.rb, line 17
def reset!(rt = {})
  transaction { @index = rt }
end