Module: Catche::Expire

Defined in:
lib/catche/expire.rb,
lib/catche/expire/pages.rb,
lib/catche/expire/views.rb

Defined Under Namespace

Modules: Pages, Views

Class Method Summary collapse

Class Method Details

.expire!(data) ⇒ Object



9
10
11
12
# File 'lib/catche/expire.rb', line 9

def expire!(data)
  Catche::Expire::Views.expire! *data[:views]
  Catche::Expire::Pages.expire! *data[:pages]
end