docs/redis/README.md in flipper-redis-0.21.0.rc1 vs docs/redis/README.md in flipper-redis-0.21.0.rc2
- old
+ new
@@ -26,13 +26,10 @@
**If you need to customize the adapter**, you can add this to an initializer:
```ruby
Flipper.configure do |config|
- config.default do
- client = Redis.new(url: ENV["FLIPPER_REDIS_URL"] || ENV["REDIS_URL"])
- Flipper.new(Flipper::Adapters::Redis.new(client))
- end
+ config.adapter { Flipper::Adapters::Redis.new(Redis.new) }
end
```
## Internals