Class: Hydra::Datastream::Properties
- Inherits:
-
ActiveFedora::OmDatastream
- Object
- ActiveFedora::OmDatastream
- Hydra::Datastream::Properties
- Extended by:
- Deprecation
- Defined in:
- app/models/hydra/datastream/properties.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Properties
constructor
A new instance of Properties.
Constructor Details
#initialize ⇒ Properties
Returns a new instance of Properties.
6 7 8 9 |
# File 'app/models/hydra/datastream/properties.rb', line 6 def initialize(*) super Deprecation.warn(Properties, "Hydra::Datastream::Properties is deprecated and will be removed in hydra-head 10.0") end |
Class Method Details
.xml_template ⇒ Object
23 24 25 26 27 28 29 |
# File 'app/models/hydra/datastream/properties.rb', line 23 def self.xml_template builder = Nokogiri::XML::Builder.new do |xml| xml.fields end builder.doc end |