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
5 6 7 8 9 10 11 12 |
# File 'lib/hydra/permissions_query.rb', line 5 def (pid) doc = cache.get(pid) unless doc doc = (pid) cache.put(pid, doc) end doc end |