Class: Celsius::Primo::SoapApi::Searcher::SearchBrief::SearchRequestTransformation::EmbedInnerSearchRequest

Inherits:
Transformation::Step
  • Object
show all
Defined in:
lib/celsius/primo/soap_api/searcher/search_brief/search_request_transformation/embed_inner_search_request.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
# File 'lib/celsius/primo/soap_api/searcher/search_brief/search_request_transformation/embed_inner_search_request.rb', line 7

def call
  target.locate("*/searchRequestStr").first.tap do |searchRequestStr|
    searchRequestStr << Ox::CData.new(Ox.dump(transformation.inner_search_request))
  end
end