Sha256: e3fea53e13993501a70c17a3d92ba420c474319aa0b738275617e383e2c6de01
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
require "transformator/transformation/step" require_relative "../doc_transformation" class Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation:: SetYearOfPublication < Transformator::Transformation::Step def call target.record.year_of_publication = transformation.read_source_values(".//display/creationdate").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_year_of_publication.rb |