Class: Upkeep::Subscriptions::ReverseIndex::Entry
- Inherits:
-
Data
- Object
- Data
- Upkeep::Subscriptions::ReverseIndex::Entry
- Defined in:
- lib/upkeep/subscriptions/reverse_index.rb
Instance Attribute Summary collapse
-
#cohort_key ⇒ Object
readonly
Returns the value of attribute cohort_key.
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
-
#dependency_cache_key ⇒ Object
readonly
Returns the value of attribute dependency_cache_key.
-
#owner_id ⇒ Object
readonly
Returns the value of attribute owner_id.
-
#subscriber_ids ⇒ Object
readonly
Returns the value of attribute subscriber_ids.
-
#subscription_id ⇒ Object
readonly
Returns the value of attribute subscription_id.
Instance Method Summary collapse
Instance Attribute Details
#cohort_key ⇒ Object (readonly)
Returns the value of attribute cohort_key
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def cohort_key @cohort_key end |
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def dependency @dependency end |
#dependency_cache_key ⇒ Object (readonly)
Returns the value of attribute dependency_cache_key
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def dependency_cache_key @dependency_cache_key end |
#owner_id ⇒ Object (readonly)
Returns the value of attribute owner_id
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def owner_id @owner_id end |
#subscriber_ids ⇒ Object (readonly)
Returns the value of attribute subscriber_ids
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def subscriber_ids @subscriber_ids end |
#subscription_id ⇒ Object (readonly)
Returns the value of attribute subscription_id
8 9 10 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 8 def subscription_id @subscription_id end |
Instance Method Details
#cohort? ⇒ Boolean
13 14 15 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 13 def cohort? !!cohort_key end |
#represented_subscriber_ids ⇒ Object
9 10 11 |
# File 'lib/upkeep/subscriptions/reverse_index.rb', line 9 def represented_subscriber_ids Array(subscriber_ids) end |