From a66f7678948d52ad0b2e3eaf18c6e124ab9eea5c Mon Sep 17 00:00:00 2001 From: hermeswaldemarin Date: Thu, 25 May 2023 17:34:47 +0100 Subject: [PATCH] Upgrading Faraday --- example/example.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/example.rb b/example/example.rb index 9ca10fa..5fd6f18 100644 --- a/example/example.rb +++ b/example/example.rb @@ -12,7 +12,7 @@ # define a new context request context_config = Absmartly.create_context_config -#context_config.set_unit("session_id", "bf06d8cb5d8137290c4abb64155584fbdb64d8") +context_config.set_unit("session_id", "bf06d8cb5d8137290c4abb64155584fbdb64d8") context_config.set_unit("user_id", "123456") ctx = Absmartly.create_context(context_config) @@ -26,8 +26,8 @@ treatment3 = ctx.treatment("test") puts(treatment3) # 1 -#ctx.set_unit("db_user_id", 1000013) -#ctx.set_units(db_user_id2: 1000013, session_id2: 12311) +ctx.set_unit("db_user_id", 1000013) +ctx.set_units(db_user_id2: 1000013, session_id2: 12311) ctx.set_attribute("user_agent", "Chrome 2022") ctx.set_attributes(