From a50e45e52df2e695413b8c1a5833867e98281420 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Thu, 11 May 2023 10:21:38 -0300 Subject: [PATCH] updated readme.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf08288a..e70df63f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Build Status](https://github.com/splitio/ruby-client/actions/workflows/ci.yml/badge.svg?branch=master) ## Overview -This SDK is designed to work with Split, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience. +This SDK is designed to work with Split, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience. [![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware) @@ -21,7 +21,7 @@ Below is a simple example that describes the instantiation and most basic usage ```ruby require 'splitclient-rb' -split_factory = SplitIoClient::SplitFactory.new('SDK_API_KEY') +split_factory = SplitIoClient::SplitFactory.new('YOUR_SDK_KEY') split_client = split_factory.client begin @@ -30,7 +30,7 @@ rescue SplitIoClient::SDKBlockerTimeoutExpiredException puts 'SDK is not ready. Decide whether to continue or abort execution' end -treatment = split_client.get_treatment('CUSTOMER_ID', 'SPLIT_NAME'); +treatment = split_client.get_treatment('CUSTOMER_ID', 'FEATURE_FLAG_NAME'); if treatment == 'on' # insert code here to show on treatment