Class: AmplitudeExperiment::CohortStorage

Inherits:
Object
  • Object
show all
Defined in:
lib/experiment/cohort/cohort_storage.rb

Overview

CohortStorage

Direct Known Subclasses

InMemoryCohortStorage

Instance Method Summary collapse

Instance Method Details

#cohort(cohort_id) ⇒ Object

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/experiment/cohort/cohort_storage.rb', line 4

def cohort(cohort_id)
  raise NotImplementedError
end

#cohort_idsObject

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/experiment/cohort/cohort_storage.rb', line 28

def cohort_ids
  raise NotImplementedError
end

#cohortsObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/experiment/cohort/cohort_storage.rb', line 8

def cohorts
  raise NotImplementedError
end

#delete_cohort(group_type, cohort_id) ⇒ Object

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/experiment/cohort/cohort_storage.rb', line 20

def put_cohort(cohort_description)
  raise NotImplementedError
end