Sha256: 17725b28aac8195ddaf5d7e5ace0409a712ef039546d2bfb0f790cf38867d4ea

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

module Hydra::Collections
  module RequiredMetadata
    extend ActiveSupport::Concern
    included do
      property :title, predicate: RDF::Vocab::DC.title do |index|
        index.as :stored_searchable, :sortable
      end

      property :depositor, predicate: RDF::Vocab::MARCRelators.dpt, multiple: false do |index|
        index.as :symbol, :stored_searchable
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-collections-8.2.0 app/models/concerns/hydra/collections/required_metadata.rb
hydra-collections-8.1.1 app/models/concerns/hydra/collections/required_metadata.rb