Skip to content

Commit a50e45e

Browse files
committed
updated readme.md
1 parent c3f6519 commit a50e45e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
![Build Status](https://github.com/splitio/ruby-client/actions/workflows/ci.yml/badge.svg?branch=master)
33

44
## Overview
5-
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.
5+
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.
66

77
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
88

@@ -21,7 +21,7 @@ Below is a simple example that describes the instantiation and most basic usage
2121
```ruby
2222
require 'splitclient-rb'
2323

24-
split_factory = SplitIoClient::SplitFactory.new('SDK_API_KEY')
24+
split_factory = SplitIoClient::SplitFactory.new('YOUR_SDK_KEY')
2525
split_client = split_factory.client
2626

2727
begin
@@ -30,7 +30,7 @@ rescue SplitIoClient::SDKBlockerTimeoutExpiredException
3030
puts 'SDK is not ready. Decide whether to continue or abort execution'
3131
end
3232

33-
treatment = split_client.get_treatment('CUSTOMER_ID', 'SPLIT_NAME');
33+
treatment = split_client.get_treatment('CUSTOMER_ID', 'FEATURE_FLAG_NAME');
3434

3535
if treatment == 'on'
3636
# insert code here to show on treatment

0 commit comments

Comments
 (0)