Module: Scales::Worker::Cache::Destroy

Defined in:
lib/scales-worker/cache/destroy.rb

Class Method Summary collapse

Class Method Details

.destroy(*paths) ⇒ Object



7
8
9
10
11
12
# File 'lib/scales-worker/cache/destroy.rb', line 7

def destroy(*paths)
  paths.each do |path|
    publish_destroy(path)
    Storage::Sync.del_content(path)
  end
end