Class: Timely::Rows::TotalSum

Inherits:
Timely::Row show all
Defined in:
lib/timely/rows/total_sum.rb

Instance Attribute Summary

Attributes inherited from Timely::Row

#key, #options, #scope, #title

Instance Method Summary collapse

Methods inherited from Timely::Row

#cache_key, #cacheable?, #default_options, #initialize, #to_s, #total

Constructor Details

This class inherits a constructor from Timely::Row

Instance Method Details

#value(starts_at, ends_at) ⇒ Object



6
7
8
# File 'lib/timely/rows/total_sum.rb', line 6

def value(starts_at, ends_at)
  total ends_at
end