Class: PropertiesDatastream

Inherits:
ActiveFedora::NokogiriDatastream
  • Object
show all
Defined in:
app/models/datastreams/properties_datastream.rb

Overview

properties datastream: catch-all for info that didn’t have another home. Particularly depositor.

Class Method Summary collapse

Class Method Details

.xml_templateObject



25
26
27
28
29
30
# File 'app/models/datastreams/properties_datastream.rb', line 25

def self.xml_template
  builder = Nokogiri::XML::Builder.new do |xml|
    xml.fields
  end
  builder.doc
end