Sha256: c21cda8785cb1780551d3819ca2e6d342eb2eef6f96347884bc28f70b0db336c

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

require 'catche/expire/view'
require 'catche/expire/page'

module Catche
  module Expire

    class << self

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

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
catche-0.2.3 lib/catche/expire.rb
catche-0.2.2 lib/catche/expire.rb