Class: AmplitudeExperiment::CohortStorage
- Inherits:
-
Object
- Object
- AmplitudeExperiment::CohortStorage
- Defined in:
- lib/experiment/cohort/cohort_storage.rb
Overview
CohortStorage
Direct Known Subclasses
Instance Method Summary collapse
- #cohort(cohort_id) ⇒ Object
- #cohort_ids ⇒ Object
- #cohorts ⇒ Object
- #delete_cohort(group_type, cohort_id) ⇒ Object
- #get_cohorts_for_group(group_type, group_name, cohort_ids) ⇒ Object
- #get_cohorts_for_user(user_id, cohort_ids) ⇒ Object
- #put_cohort(cohort_description) ⇒ Object
Instance Method Details
#cohort(cohort_id) ⇒ Object
4 5 6 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 4 def cohort(cohort_id) raise NotImplementedError end |
#cohort_ids ⇒ Object
28 29 30 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 28 def cohort_ids raise NotImplementedError end |
#cohorts ⇒ Object
8 9 10 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 8 def cohorts raise NotImplementedError end |
#delete_cohort(group_type, cohort_id) ⇒ Object
24 25 26 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 24 def delete_cohort(group_type, cohort_id) raise NotImplementedError end |
#get_cohorts_for_group(group_type, group_name, cohort_ids) ⇒ Object
16 17 18 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 16 def get_cohorts_for_group(group_type, group_name, cohort_ids) raise NotImplementedError end |
#get_cohorts_for_user(user_id, cohort_ids) ⇒ Object
12 13 14 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 12 def get_cohorts_for_user(user_id, cohort_ids) raise NotImplementedError end |
#put_cohort(cohort_description) ⇒ Object
20 21 22 |
# File 'lib/experiment/cohort/cohort_storage.rb', line 20 def put_cohort(cohort_description) raise NotImplementedError end |