Class: Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation::SetTitle

Inherits:
Transformator::Transformation::Step
  • Object
show all
Defined in:
lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_title.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
# File 'lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_title.rb', line 7

def call
  target.record.title = transformation.read_source_values(".//display/title").first
end