class Skala::PrimoAdapter::Search::RequestTransformation::SetupInnerSearchRequest
Public Instance Methods
call()
click to toggle source
setup inner search request that will be wrapped in a cdata element at the end
# File lib/skala/primo_adapter/search/request_transformation/setup_inner_search_request.rb, line 11 def call # we setup this skeleton instead of dynamic element creation because order matters with primo transformation.inner_search_request = Ox.parse( <<-xml <searchRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents"> <PrimoSearchRequest xmlns="http://www.exlibris.com/primo/xsd/search/request"> <QueryTerms> <BoolOpeator>AND</BoolOpeator> </QueryTerms> <StartIndex></StartIndex> <BulkSize></BulkSize> <DidUMeanEnabled>false</DidUMeanEnabled> <HighlightingEnabled>false</HighlightingEnabled> <Languages></Languages> <Locations></Locations> </PrimoSearchRequest> <onCampus></onCampus> <institution></institution> </searchRequest> xml ) end