Method: Faulty::Cache::Default#write
- Defined in:
- lib/faulty/cache/default.rb
#write(key, value, expires_in: expires_in) ⇒ void
This method returns an undefined value.
Write a value to the cache
This may be any object. It's up to the cache implementation to serialize if necessary or raise an error if unsupported.
34 |
# File 'lib/faulty/cache/default.rb', line 34 def_delegators :@cache, :read, :write, :fault_tolerant? |