From 2c01f6b9d9eab1499221a051be4606923f90ef13 Mon Sep 17 00:00:00 2001 From: Patrick Brinich-Langlois Date: Wed, 25 Mar 2015 18:36:51 -0700 Subject: [PATCH] Update documentation regarding Split::Experiment. --- CHANGELOG.md | 5 +++++ README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79aa843d..3c4cf0ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ Bugfixes: ## 1.1.0 (January 9th, 2015) +Changes: + + - Public class methods on `Split::Experiment` (e.g., `find_or_create`) + have been moved to `Split::ExperimentCatalog`. + Features: - Decouple trial from Split::Helper (@joshdover, #286) diff --git a/README.md b/README.md index 056f6662..fbc28ae2 100644 --- a/README.md +++ b/README.md @@ -614,7 +614,7 @@ conduct experiments that are not tied to a web session. ```ruby # create a new experiment -experiment = Split::Experiment.find_or_create('color', 'red', 'blue') +experiment = Split::ExperimentCatalog.find_or_create('color', 'red', 'blue') # create a new trial trial = Split::Trial.new(:experiment => experiment) # run trial