Sha256: 9dd70fe6e6663eef6d5ff3bedef7f6f703e5e18ade85e0e22d847e95f031fa55

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "feature_flag_monitor"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

FFM = FeatureFlagMonitor
FeatureFlagMonitor.configure do |config|
  config.consul_uri = 'http://localhost:8500'
  config.feature_flag_monitor_uri = 'http://localhost:1255'
end

def authorization
  { 'Authorization' => "Basic #{Base64.encode64("#{ENV['SUPERADMIN_USER']}:#{ENV['SUPERADMIN_PASS']}")}" }
end

require "irb"
IRB.start(__FILE__)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feature-flag-monitor-0.5.4 bin/console