Sha256: effabad338dd0dfa18dda80aa8140a353edbf2e08a46f1dac69eefacd174cb80

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::
  SetSubject < Transformator::Transformation::Step

  def call
    target.record.subject = transformation.read_source_values(".//display/subject", split: ";")
  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_subject.rb