Module: Hydra::PermissionsQuery
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/hydra/permissions_query.rb
Instance Method Summary collapse
Instance Method Details
#permissions_doc(pid) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/hydra/permissions_query.rb', line 8 def (pid) doc = cache.get(pid) unless doc doc = (pid) cache.put(pid, doc) end doc end |