Sha256: 9190b4011aa1190a3eea3c847860b4e36d18f60f9d07871e3c71d834c777fb8e
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
require "transformator/transformation/step" require_relative "../doc_transformation" # TODO: UBPB transformation: Move to custom adapter class Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation:: SetFulltextAvailable < Transformator::Transformation::Step def call target.record.fulltext_available = transformation.read_source_values(".//delivery/fulltext").first != "no_fulltext" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skala-1.1.0 | lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_fulltext_available.rb |