def set_up_cache(redis_url, ttl)
      return @cached = false unless redis_url

      @ttl = ttl || 900
      @cached = true
      @redis = Redis.new :url => redis_url
    end
def set_up_cache(redis_url, ttl)
      return @cached = false unless redis_url

      @ttl = ttl || 900
      @cached = true
      @redis = Redis.new :url => redis_url
    end
Initializes a Lol::Client
 @param api_key [String]
 @param options [Hash]
 @option options [String] :region ("EUW") The region on which the requests will be made
 @option options [String] :redis the redis url to use for caching
 @option options [Integer] :ttl (900) the cache ttl
 @option options [Fixnum] :rate_limit_requests number of requests
 @option options [Fixnum] :rate_limit_seconds number of seconds to limit the rate in
 @return [Lol::Client]