examples/simple.rb in unleash-3.2.2 vs examples/simple.rb in unleash-3.2.3
- old
+ new
@@ -15,16 +15,16 @@
# @unleash = Unleash::Client.new
# or:
@unleash = Unleash::Client.new(
- url: 'http://unleash.herokuapp.com/api',
+ url: 'https://app.unleash-hosted.com/demo/api',
app_name: 'simple-test',
instance_id: 'local-test-cli',
refresh_interval: 2,
metrics_interval: 2,
retry_limit: 2,
- log_level: Logger::DEBUG
+ custom_http_headers: {'Authorization': '943ca9171e2c884c545c5d82417a655fb77cec970cc3b78a8ff87f4406b495d0'},
)
# feature_name = "AwesomeFeature"
feature_name = "4343443"
unleash_context = Unleash::Context.new