module ActiveFedora::WithMetadata::ClassMethods

Public Instance Methods

metadata(&block) click to toggle source
# File lib/active_fedora/with_metadata.rb, line 29
def metadata(&block)
  @metadata_schema = metadata_class_factory.build(self, &block)
end
metadata_schema() click to toggle source
# File lib/active_fedora/with_metadata.rb, line 33
def metadata_schema
  @metadata_schema ||= metadata_class_factory.build(self)
end