Sha256: 20a8c03eda62b4c0c1cec26ffe31c1a9db2e52bba1dbfab72582f2510542e576
Contents?: true
Size: 687 Bytes
Versions: 11
Compression:
Stored size: 687 Bytes
Contents
# properties datastream: catch-all for info that didn't have another home. class Curate::PropertiesDatastream < ActiveFedora::OmDatastream set_terminology do |t| t.root(:path=>"fields" ) # This is where we put the user id of the object depositor t.depositor index_as: :stored_searchable t.owner # Although we aren't using these fields, they are required because sufia-models delegates to them. t.relative_path t.import_url #This attribute should hold the selected file which represent the work. t.representative end def self.xml_template builder = Nokogiri::XML::Builder.new do |xml| xml.fields end builder.doc end end
Version data entries
11 entries across 11 versions & 1 rubygems