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

Inherits:
Transformation::Step
  • Object
show all
Defined in:
lib/celsius/primo/soap_api/searcher/search_brief/search_request_transformation/set_bulk_size.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/set_bulk_size.rb', line 7

def call
  transformation.inner_search_request.locate("PrimoSearchRequest/BulkSize").first.tap do |node|
    node << Celsius::Hash.deep_find_key(source, :size).first.to_s
  end
end