Class: Dor::WorkflowDs
- Inherits:
-
ActiveFedora::Datastream
- Object
- ActiveFedora::Datastream
- Dor::WorkflowDs
- Defined in:
- lib/dor/datastreams/workflow_ds.rb
Overview
Represents the datastream that just holds the location of the workflow service
Class Method Summary collapse
-
.default_attributes ⇒ Object
Called by rubydora.
Instance Method Summary collapse
-
#build_location ⇒ Object
Called before saving, but after a pid has been assigned.
Methods included from DatastreamSpecSolrizer
Methods included from SolrDocHelper
Class Method Details
.default_attributes ⇒ Object
Called by rubydora. This lets us customize the mime-type
16 17 18 |
# File 'lib/dor/datastreams/workflow_ds.rb', line 16 def self.default_attributes super.merge(mimeType: 'application/xml') end |