Sha256: 8e56a56bcf204f4ac1973d9c2a59d54db6d6813f50275ca0750b9e7bc77b3770
Contents?: true
Size: 650 Bytes
Versions: 30
Compression:
Stored size: 650 Bytes
Contents
# properties datastream: catch-all for info that didn't have another home. Particularly depositor. class PropertiesDatastream < ActiveFedora::OmDatastream set_terminology do |t| t.root(:path=>"fields" ) # This is where we put the user id of the object depositor -- impacts permissions/access controls t.depositor :index_as=>[:stored_searchable] # This is where we put the relative path of the file if submitted as a folder t.relative_path t.import_url path: 'importUrl', :index_as=>:symbol end def self.xml_template builder = Nokogiri::XML::Builder.new do |xml| xml.fields end builder.doc end end
Version data entries
30 entries across 30 versions & 2 rubygems