example/example.rb in ff-ruby-server-sdk-1.0.1 vs example/example.rb in ff-ruby-server-sdk-1.0.2.rc1
- old
+ new
@@ -18,10 +18,11 @@
executor = Concurrent::FixedThreadPool.new(100)
keys = {
+ # "UAT" => "834b1749-073b-4a97-8424-03893572bab5",
"Freemium" => "1f3339b4-e004-457a-91f7-9b5ce173eaaf",
"Non-Freemium" => "a30cf6aa-67f2-4545-8ac7-f86709f4f3a0"
}
keys.each do |name, key|
@@ -29,14 +30,14 @@
targets[name] = Target.new("ruby_target_" + name)
config = ConfigBuilder.new
.logger(logger)
.build
-
- client = CfClient.new(key, config)
-
+ # UAT:
# .config_url("https://config.feature-flags.uat.harness.io/api/1.0")
# .event_url("https://event.feature-flags.uat.harness.io/api/1.0")
+
+ client = CfClient.new(key, config)
client.init
config.logger.debug "We will wait for the initialization"