Module: Hydra::ModelMixins::ModsObject

Defined in:
lib/hydra/model_mixins/mods_object.rb

Class Method Summary collapse

Class Method Details

.included(klazz) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/hydra/model_mixins/mods_object.rb', line 10

def self.included(klazz)
  # Uses the Hydra MODS Basic profile for tracking descriptive metadata
  klazz. :name => "descMetadata", :type => Hydra::Datastream::ModsArticle

  # Ensure that objects assert the modsObject cModel
  # klazz.relationships << :has_model => "info:fedora/hydra-cModel:modsObject"
end