Class: Athar::Retention::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/athar/retention.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#batchesObject

Returns the value of attribute batches

Returns:

  • (Object)

    the current value of batches



5
6
7
# File 'lib/athar/retention.rb', line 5

def batches
  @batches
end

#deleted_by_ageObject

Returns the value of attribute deleted_by_age

Returns:

  • (Object)

    the current value of deleted_by_age



5
6
7
# File 'lib/athar/retention.rb', line 5

def deleted_by_age
  @deleted_by_age
end

#deleted_by_countObject

Returns the value of attribute deleted_by_count

Returns:

  • (Object)

    the current value of deleted_by_count



5
6
7
# File 'lib/athar/retention.rb', line 5

def deleted_by_count
  @deleted_by_count
end

#table_events_deletedObject

Returns the value of attribute table_events_deleted

Returns:

  • (Object)

    the current value of 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_deletedObject



6
7
8
# File 'lib/athar/retention.rb', line 6

def total_deleted
  deleted_by_age + deleted_by_count + table_events_deleted
end