Sha256: 6e539e07a200f56a50ebb266cca9c142b6f8a35dda99765d4d66d194b7b767ae

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

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

class Skala::PrimoAdapter::Search::RequestTransformation::
  SetBulkSize < Transformator::Transformation::Step

  def call
    transformation.inner_search_request.locate("PrimoSearchRequest/BulkSize").first.tap do |_node|
      _node << source.size.to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/primo_adapter/search/request_transformation/set_bulk_size.rb