Example: Basic Code to use Split SDK 5.0.0
Environment:
- Ruby 2.3.7
- Rails 5.2.0
- puma 3.12
How to use:
- SDK initialize class to update API Key: app/config/initializers/splitclient.rb
- Treatment class: app/controllers/welcome_controller.rb
- Starting Puma App engine command: puma config.ru -w 5 --preload
HTTP Access: http://localhost:3000/
Comments
0 comments
Please sign in to leave a comment.