a_b_plugin

Talk to a_b from your Rails or Sinatra app.

Install


sudo gem install a_b_plugin --source http://gemcutter.org

Setup

You will need to make a call to ABPlugin.config when your app boots:


ABPlugin.config 'kTJkI8e56OisQrexuChW', 'http://ab.mydomain.com'

The first parameter is the persistence token from the user you created in a_b.

The second parameter is the URL to your a_b server.