This is an example Rails app which shows off the features of Split Ruby SDK.
- Sign in to the Split user interface
- Go to the "Admin Tab" -> "API keys" and copy an SDK key.
- Paste it to the
.envfile in the root directory (see.env.example)
- As usual, run
bundle installto install dependencies - Then, run rails server:
rails s - Go to: http://localhost:3000/treatments/test?featureFlagName=FEATURE_FLAG_NAME&key=YOUR_KEY