Class: Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation::SetFulltextAvailable

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

Overview

TODO: UBPB transformation: Move to custom adapter

Instance Method Summary collapse

Instance Method Details

#callObject



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

def call
  target.record.fulltext_available = transformation.read_source_values(".//delivery/fulltext").first != "no_fulltext"
end