Module: ActiveFedora::WithMetadata::ClassMethods

Defined in:
lib/active_fedora/with_metadata.rb

Instance Method Summary collapse

Instance Method Details

#metadata(&block) ⇒ Object



28
29
30
# File 'lib/active_fedora/with_metadata.rb', line 28

def (&block)
  @metadata_schema = .build(self, &block)
end

#metadata_schemaObject



32
33
34
# File 'lib/active_fedora/with_metadata.rb', line 32

def 
  @metadata_schema ||= .build(self)
end