class LHC::Caching

def map_deprecated_options!(request_options, options)

maps `cache_key` -> `key`, `cache_expires_in` -> `expires_in` and so on
def map_deprecated_options!(request_options, options)
  deprecated_keys(request_options).each do |deprecated_key|
    new_key = deprecated_key.to_s.gsub(/^cache_/, '').to_sym
    options[new_key] = request_options[deprecated_key]
  end
end