Sha256: b216da91c3c7afbebf20534d9db89a19509b170c51941a7accb957730a4b29e4

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require "transformator/transformation/step"
require_relative "../doc_transformation"

class Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation::
  SetDescription < Transformator::Transformation::Step

  def call
    target.record.description = transformation.read_source_values(".//display/description")
  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_description.rb