Sha256: b30c857b2544c63e91637a6446a0a93bfd1ba55919e737f430dfa1fc1113a7f7
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
require "transformator/transformation/step" require_relative "../result_transformation" require_relative "./doc_transformation" class Skala::PrimoAdapter::Search::ResultTransformation:: AddHits < Transformator::Transformation::Step def call target.hits = transformation.search_brief_response.xpath("//DOC").map do |_doc| self.class.parent::DocTransformation.new.call(_doc) end 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/add_hits.rb |