Module: Hydra::PCDM::CollectionBehavior::ClassMethods

Defined in:
lib/hydra/pcdm/models/concerns/collection_behavior.rb

Overview

See Also:

  • ActiveSupport::Concern

Instance Method Summary collapse

Instance Method Details

#indexerClass

Returns the indexer class.

Returns:

  • (Class)

    the indexer class



27
28
29
# File 'lib/hydra/pcdm/models/concerns/collection_behavior.rb', line 27

def indexer
  Hydra::PCDM::CollectionIndexer
end

#type_validatorClass

Returns the validator class.

Returns:

  • (Class)

    the validator class



33
34
35
# File 'lib/hydra/pcdm/models/concerns/collection_behavior.rb', line 33

def type_validator
  Validators::PCDMCollectionValidator
end