Class: Cohesion::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/cohesion/cache.rb

Class Method Summary collapse

Class Method Details

.clear_crawl(crawl_id) ⇒ Object



9
10
11
# File 'lib/cohesion/cache.rb', line 9

def self.clear_crawl(crawl_id)
  Cobweb::Cache.flush_crawl(crawl_id)
end

.clear_crawlsObject



6
7
8
# File 'lib/cohesion/cache.rb', line 6

def self.clear_crawls
  Cobweb::Cache.flush_all_private
end

.clear_publicObject



3
4
5
# File 'lib/cohesion/cache.rb', line 3

def self.clear_public
  Cobweb::Cache.flush_public
end