Class: Twelvefactor::Environment::Cache::Redis
- Inherits:
-
Object
- Object
- Twelvefactor::Environment::Cache::Redis
- Defined in:
- lib/twelvefactor/environment/cache/redis.rb
Class Method Summary collapse
Class Method Details
.apply(app, cache_url) ⇒ Object
3 4 5 6 7 |
# File 'lib/twelvefactor/environment/cache/redis.rb', line 3 def self.apply app, cache_url config = app.config config.cache_store = :redis_store, cache_url.to_s end |