Sha256: f2f86e9b7181c6e9bad5f49a15981bc9e3f74da3e391047cafd6655f3a95ec66

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

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

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

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