Module: Puree::XMLExtractor::OwnerMixin

Included in:
Dataset, ResearchOutput
Defined in:
lib/puree/xml_extractor/mixins/owner_mixin.rb

Overview

Owner mixin.

Instance Method Summary collapse

Instance Method Details

#ownerPuree::Model::OrganisationalUnitHeader?



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

def owner
  xpath_result = xpath_query '/managingOrganisationalUnit'
  Puree::XMLExtractor::Shared.organisation_header xpath_result
end