Sha256: b347f383c6c0307fa3e6321287c90b9b15acfd38fdbf2847a4629601efc9983b

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

  def call
    target.record.creator = transformation.read_source_values(".//display/creator", 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_creator.rb