README.md in optimizely-1.1.1 vs README.md in optimizely-1.1.2
- old
+ new
@@ -24,42 +24,53 @@
optimizely = Optimizely.new({ api_token: 'abcdefghijklmnopqrstuvwxyz:123456' })
## Projects
+The fields that are available for a project: project_name, project_status, id and account_id.
+
Retrieve all projects:
projects = optimizely.projects
Retrieve a specific project:
project = optimizely.project(12345)
## Experiments
+
+The fields that are available for an experiment: id, project_id, variation_ids, edit_url and status.
Retrieve all experiments for a project:
experiments = optimizely.experiments(12345)
Retrieve a specific experiment:
experiment = optimizely.experiment(12345)
## Variations
+The fields that are available for a varation: is_paused, description, weight, created, variation_id, section_id, js_component, experiment_id, project_id and id.
+
Retrieve all variations for an experiment:
variations = optimizely.variations(12345)
Retrieve a specific variation:
variation = optimizely.variation(12345)
## Audiences
+The fields that are available for an audience: id, name, project_id and description.
+
Retrieve all audiences for an project:
audiences = optimizely.audiences(12345)
Retrieve a specific audience:
audience = optimizely.audience(12345)
# Information
### Changelog
+
+#### 1.1.2
+* Write tests to check what happens if data is not available.
#### 1.1.1
* Return a hash object for the data you've just requested.
#### 1.1
\ No newline at end of file