Sha256: c54b4c3c47d47abe48c808c42a6594554b6017cb366a146225908179db3961b4
Contents?: true
Size: 952 Bytes
Versions: 3
Compression:
Stored size: 952 Bytes
Contents
module Scales module Worker class << self def run! Worker.new.work! end end end # Cache Methods class << self def push(params) Worker::Cache::Push.push(params) end def append(params) Worker::Cache.class_for(params).append(params) end def prepend(params) Worker::Cache.class_for(params).prepend(params) end def set(params) Worker::Cache.class_for(params).set(params) end def replace(params) Worker::Cache.class_for(params).replace(params) end def remove(format, params) Worker::Cache.class_for(format).remove(params) end def destroy(*paths) Worker::Cache::Destroy.destroy(*paths) end def update(*paths, params) Worker::Cache::Update.update(*paths, params) end def get(path) Storage::Sync::get_content(path) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scales-worker-0.0.4 | lib/scales-worker/base.rb |
scales-worker-0.0.1.beta.2 | lib/scales-worker/base.rb |
scales-worker-0.0.1.beta.1 | lib/scales-worker/base.rb |