Module: ActiveFedora::WithMetadata::ClassMethods

Defined in:
lib/active_fedora/with_metadata.rb

Instance Method Summary collapse

Instance Method Details

#metadata(&block) ⇒ Object



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

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

#metadata_schemaObject



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

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