module JunglePath::API::Helpers::DataCache

Public Instance Methods

cache() click to toggle source

def zcache

if @cache == nil
  raw_client = Redis.new
  @cache = Cache.wrap(raw_client)
end
@cache

end

# File lib/jungle_path/api/helpers/data_cache.rb, line 14
def cache
        JunglePath::Cache
end