Class: Worthwhile::PropertiesDatastream

Inherits:
ActiveFedora::OmDatastream
  • Object
show all
Defined in:
app/datastreams/worthwhile/properties_datastream.rb

Overview

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.xml_templateObject



17
18
19
20
21
22
# File 'app/datastreams/worthwhile/properties_datastream.rb', line 17

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

Instance Method Details

#prefixObject



24
25
26
# File 'app/datastreams/worthwhile/properties_datastream.rb', line 24

def prefix
  'properties_'
end