Module: Puree::XMLExtractor::WorkflowStateMixin

Included in:
Dataset, Publication
Defined in:
lib/puree/xml_extractor/mixins/workflow_state_mixin.rb

Overview

Workflow state extractor mixin.

Instance Method Summary collapse

Instance Method Details

#workflow_stateString?

Workflow state

Returns:

  • (String, nil)


11
12
13
# File 'lib/puree/xml_extractor/mixins/workflow_state_mixin.rb', line 11

def workflow_state
  xpath_query_for_single_value '/startedWorkflows/startedWorkflow/state'
end