Sha256: ff9d7d73b42ea44991a9fb9e932d12508ea0858880c61ed941f60b8a22bdd47a
Contents?: true
Size: 192 Bytes
Versions: 2
Compression:
Stored size: 192 Bytes
Contents
module Hydra::PermissionsCache @@cache = {} def self.get(pid) @@cache[pid] end def self.put(pid, doc) @@cache[pid] = doc end def self.clear @@cache = {} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hydra-access-controls-6.0.0.rc2 | lib/hydra/permissions_cache.rb |
hydra-access-controls-6.0.0.rc1 | lib/hydra/permissions_cache.rb |