Sha256: 61ed150310f519b838cad7255a381249a86228fc7b9fba0fe74936386c52b614
Contents?: true
Size: 405 Bytes
Versions: 12
Compression:
Stored size: 405 Bytes
Contents
module Ddr::Index module Filters HAS_CONTENT = Filter.where(Fields::ACTIVE_FEDORA_MODEL => ["Component", "Attachment", "Target"]) class << self def is_governed_by(pid) Filter.where(Fields::IS_GOVERNED_BY => internal_uri(pid)) end def internal_uri(pid) ActiveFedora::Base.internal_uri(pid) end end private_class_method :internal_uri end end
Version data entries
12 entries across 12 versions & 1 rubygems