class ActionDispatch::RailsMetaStore

def self.resolve(uri)

def self.resolve(uri)
  new
end

def initialize(store = Rails.cache)

def initialize(store = Rails.cache)
  @store = store
end

def read(key)

def read(key)
  if data = @store.read(key)
    Marshal.load(data)
  else
    []
  end
end

def write(key, value)

def write(key, value)
  @store.write(key, Marshal.dump(value))
end