def write(key, value, options = {})
      options = merged_options(options)

      invoke(:write, key) do |store|
        write_entity(key, value, store, options)
      end
    end
def write(key, value, options = {})
      options = merged_options(options)

      invoke(:write, key) do |store|
        write_entity(key, value, store, options)
      end
    end
Writes data to the cache using the given key. Will overwrite whatever
 value is already stored at that key.

 @param [String] key Key for lookup
 @param [Hash] options Optional overrides

 @example

   cache.write('some-key', 'a bunch of text')                     # => 'OK'
   cache.write('some-key', 'short lived', expires_in: 60)         # => 'OK'
   cache.write('some-key', 'lives elsehwere', namespace: 'cache') # => 'OK'