def value_from_redis
      if val = Timely.redis.hget(redis_hash_key, redis_value_key)
        val = val.include?(".") ? val.to_f : val.to_i
      else
        val = value_without_caching
        Timely.redis.hset(redis_hash_key, redis_value_key, val)
      end

      val
    end
def value_from_redis
      if val = Timely.redis.hget(redis_hash_key, redis_value_key)
        val = val.include?(".") ? val.to_f : val.to_i
      else
        val = value_without_caching
        Timely.redis.hset(redis_hash_key, redis_value_key, val)
      end

      val
    end
retrieve a cached value from a redis hash.

 hashes are accessed using the report title and row title. values within
 the hash are keyed using the column's start/end timestamps