class ActiveSupport::Cache::Store

def write_entry(key, entry, **options)

this method.
Writes an entry to the cache implementation. Subclasses must implement
def write_entry(key, entry, **options)
  raise NotImplementedError.new
end