Sha256: c0332228528d5a2df6ab67537e52a408a2e5483a6065300deb1c8e2aa12eb50b

Contents?: true

Size: 262 Bytes

Versions: 10

Compression:

Stored size: 262 Bytes

Contents

module CacheAdvance
  class RailsCache
    def read(key)
      Rails.cache.read(key)
    end
    
    def write(key, value, options={})
      Rails.cache.write(key, value, options)
    end
    
    def delete(key)
      Rails.cache.delete(key)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aub-cache_advance-1.0.0 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.1 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.2 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.3 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.4 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.5 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.6 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.7 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.8 lib/cache_advance/rails_cache.rb
aub-cache_advance-1.0.9 lib/cache_advance/rails_cache.rb