Sha256: b926157c506a5d2db116a0c7d023e7ac7a65019f166a3aa58467139da5730cf4

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

require 'flipper/adapters/redis'

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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flipper-redis-0.21.0.rc1 lib/flipper-redis.rb