Module: Money::Bank::ECB::Cache
- Included in:
- CacheFile, SimpleCache
- Defined in:
- lib/money/bank/ecb/cache.rb
Instance Method Summary collapse
-
#get ⇒ String
Get what the cache contains.
-
#set(value) ⇒ String
Set the cache.
Instance Method Details
#get ⇒ String
Get what the cache contains.
16 17 18 |
# File 'lib/money/bank/ecb/cache.rb', line 16 def get raise StandardError, "Implement '.get' in your Cache!" end |
#set(value) ⇒ String
Set the cache.
9 10 11 |
# File 'lib/money/bank/ecb/cache.rb', line 9 def set(value) raise StandardError, "Implement '.set(&block)' in your Cache!" end |