Module: Occurro::Tasks
- Defined in:
- lib/occurro/tasks.rb
Class Method Summary collapse
-
.daily_update(countable_type = nil) ⇒ Object
Public: Update daily counters from counters table.
-
.monthly_update(countable_type = nil) ⇒ Object
Public: Update monthly counters from counters table.
-
.weekly_update(countable_type = nil) ⇒ Object
Public: Update weekly counters from counters table.
Class Method Details
.daily_update(countable_type = nil) ⇒ Object
Public: Update daily counters from counters table
6 7 8 |
# File 'lib/occurro/tasks.rb', line 6 def self.daily_update(countable_type = nil) update_counters(:daily, countable_type) end |
.monthly_update(countable_type = nil) ⇒ Object
Public: Update monthly counters from counters table
18 19 20 |
# File 'lib/occurro/tasks.rb', line 18 def self.monthly_update(countable_type = nil) update_counters(:monthly, countable_type) end |
.weekly_update(countable_type = nil) ⇒ Object
Public: Update weekly counters from counters table
12 13 14 |
# File 'lib/occurro/tasks.rb', line 12 def self.weekly_update(countable_type = nil) update_counters(:weekly, countable_type) end |