Sha256: 95294aa9d5dd02e9f9c6897bc676840283a8d593baef6a16a2a193ce5e4337c9
Contents?: true
Size: 295 Bytes
Versions: 1
Compression:
Stored size: 295 Bytes
Contents
module Danconia module Stores class InMemory attr_reader :rates # `rates` should be of a map of pair->rate like {'USDEUR' => 1.25} def initialize rates: {} save_rates rates end def save_rates rates @rates = rates end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danconia-0.2.9 | lib/danconia/stores/in_memory.rb |