Sha256: 82174662d6c0b002b6698b0be41d32415be0db18c0936b3ab647c5bcd5066596

Contents?: true

Size: 424 Bytes

Versions: 7

Compression:

Stored size: 424 Bytes

Contents

# Usage (from the repo root):
#   env FLIPPER_CLOUD_TOKEN=<token> bundle exec ruby examples/cloud/import.rb
require 'bundler/setup'
require 'flipper'
require 'flipper/cloud'

Flipper.enable(:test)
Flipper.enable(:search)
Flipper.enable_actor(:stats, Flipper::Actor.new("jnunemaker"))
Flipper.enable_percentage_of_time(:logging, 5)

cloud = Flipper::Cloud.new

# makes cloud identical to memory flipper
cloud.import(Flipper)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flipper-cloud-0.23.0 examples/cloud/import.rb
flipper-cloud-0.22.2 examples/cloud/import.rb
flipper-cloud-0.22.1 examples/cloud/import.rb
flipper-cloud-0.22.0 examples/cloud/import.rb
flipper-cloud-0.21.0 examples/cloud/import.rb
flipper-cloud-0.21.0.rc2 examples/cloud/import.rb
flipper-cloud-0.21.0.rc1 examples/cloud/import.rb