Sha256: fcc7170fe9f436ac57af70e0e419037c277ef334119b0f40e647e5c2c1294ef1
Contents?: true
Size: 386 Bytes
Versions: 31
Compression:
Stored size: 386 Bytes
Contents
# Usage (from the repo root): # env FLIPPER_CLOUD_TOKEN=<token> bundle exec ruby examples/cloud/basic.rb require_relative "./cloud_setup" require 'bundler/setup' require 'flipper/cloud' Flipper[:stats].enable if Flipper[:stats].enabled? puts 'Enabled!' else puts 'Disabled!' end Flipper[:stats].disable if Flipper[:stats].enabled? puts 'Enabled!' else puts 'Disabled!' end
Version data entries
31 entries across 31 versions & 2 rubygems