Class: Athar::Retention::Result
- Inherits:
-
Struct
- Object
- Struct
- Athar::Retention::Result
- Defined in:
- lib/athar/retention.rb
Instance Attribute Summary collapse
-
#batches ⇒ Object
Returns the value of attribute batches.
-
#deleted_by_age ⇒ Object
Returns the value of attribute deleted_by_age.
-
#deleted_by_count ⇒ Object
Returns the value of attribute deleted_by_count.
-
#table_events_deleted ⇒ Object
Returns the value of attribute table_events_deleted.
Instance Method Summary collapse
Instance Attribute Details
#batches ⇒ Object
Returns the value of attribute batches
5 6 7 |
# File 'lib/athar/retention.rb', line 5 def batches @batches end |
#deleted_by_age ⇒ Object
Returns the value of attribute deleted_by_age
5 6 7 |
# File 'lib/athar/retention.rb', line 5 def deleted_by_age @deleted_by_age end |
#deleted_by_count ⇒ Object
Returns the value of attribute deleted_by_count
5 6 7 |
# File 'lib/athar/retention.rb', line 5 def deleted_by_count @deleted_by_count end |
#table_events_deleted ⇒ Object
Returns the value of attribute table_events_deleted
5 6 7 |
# File 'lib/athar/retention.rb', line 5 def table_events_deleted @table_events_deleted end |
Instance Method Details
#total_deleted ⇒ Object
6 7 8 |
# File 'lib/athar/retention.rb', line 6 def total_deleted deleted_by_age + deleted_by_count + table_events_deleted end |