class Celsius::Primo::SoapApi::Searcher::SearchBrief::SearchRequestTransformation::SetStartIndex
Public Instance Methods
call()
click to toggle source
# File lib/celsius/primo/soap_api/searcher/search_brief/search_request_transformation/set_start_index.rb, line 7 def call transformation.inner_search_request.locate("PrimoSearchRequest/StartIndex").first.tap do |node| node << (Celsius::Hash.deep_find_key(source, :from).first.to_i + 1).to_s end end