News for hackers. Stuff that matters.
Re:Redis API Caching: a simple use case by kawsper on Monday March 31, 2014 @08:37AM (#7500992)
Looks nice, did you consider the following approach?

client = Lol::Client.new "my_api_key", "euw", {cache_store: Lol::CacheStores::Redis.new(server: "redis://localhost:6379", ttl: 900)}

Re:Redis API Caching: a simple use case by intinig on Tuesday April 01, 2014 @05:47AM (#7507103)
I prefer to hide the CacheStore selection in the Client class and have it recognize the type of url you're passing.

What do you think of this approach?

Re:Redis API Caching: a simple use case by lukasm on Monday March 31, 2014 @08:08AM (#7500882)