Sha256: 51b59d083cdf5704a036ae0f23647b873f1a2e9c2d08bfeb000f22f3705f86c9
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 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 end def self.xml_template builder = Nokogiri::XML::Builder.new do |xml| xml.fields end builder.doc end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curate-0.5.0 | app/repository_datastreams/curate/properties_datastream.rb |
curate-0.4.2 | app/repository_datastreams/curate/properties_datastream.rb |