class Restforce::Middleware::Caching

def store_response_in_cache(key, response)

def store_response_in_cache(key, response)
  return unless custom_status_codes.include?(response.status)
  if @options[:write_options]
    cache.write(key, response, @options[:write_options])
  else
    cache.write(key, response)
  end
end