Sha256: 6f5b4854236abebb785f4e69cae7673c3e278f215d0093f8def9ba90b028fdf0
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
require "transformator/transformation/step" require_relative "../doc_transformation" class Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation:: SetId < Transformator::Transformation::Step def call target.record.id = source.at_xpath(".//control/recordid").text().gsub(/\ATN_/, "").split(":").last 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_id.rb |