Sha256: 634a21b1a86bd987829166e43344290930b542083a1ed0da750557b96eba59d2

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

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

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

  def call
    target.locate("*/searchRequestStr").first.tap do |searchRequestStr|
      searchRequestStr << Ox::CData.new(Ox.dump(transformation.inner_search_request))
    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/embed_inner_search_request.rb