Module: Hydra::PCDM::ObjectBehavior::ClassMethods

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

Overview

See Also:

  • ActiveSupport::Concern

Instance Method Summary collapse

Instance Method Details

#indexerClass

Returns the indexer class.

Returns:

  • (Class)

    the indexer class



59
60
61
# File 'lib/hydra/pcdm/models/concerns/object_behavior.rb', line 59

def indexer
  Hydra::PCDM::ObjectIndexer
end

#type_validatorClass

Returns the validator class.

Returns:

  • (Class)

    the validator class



65
66
67
# File 'lib/hydra/pcdm/models/concerns/object_behavior.rb', line 65

def type_validator
  Validators::PCDMObjectValidator
end