Class: Exlibris::Primo::WebService::Request::Search
- Includes:
- DisplayFields, Languages, Locations, QueryTerms, SearchElements, SortBys
- Defined in:
- lib/exlibris/primo/web_service/request/search.rb
Overview
Search Primo
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes included from QueryTerms
Attributes inherited from Base
Instance Method Summary collapse
Methods included from SortBys
Methods included from SearchElements
included, #method_missing, #respond_to?
Methods included from QueryTerms
Methods included from Locations
Methods included from Languages
Methods included from DisplayFields
#add_display_field, #display_fields
Methods inherited from Base
Methods included from XmlUtil
Methods included from Exlibris::Primo::WriteAttributes
#initialize, #write_attributes
Methods included from SoapAction
Methods included from Namespaces
Methods included from Config::Attributes
#availability_statuses, #base_url, #config, #facet_collections, #facet_labels, #facet_resource_types, #facet_top_level, #institution, #institutions, #libraries, #sources
Methods included from Call
Methods included from BaseElements
included, #method_missing, #respond_to?
Methods included from Abstract
Constructor Details
This class inherits a constructor from Exlibris::Primo::WebService::Request::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Exlibris::Primo::WebService::Request::SearchElements
Instance Method Details
#to_xml ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/exlibris/primo/web_service/request/search.rb', line 24 def to_xml super { |xml| xml.PrimoSearchRequest("xmlns" => "http://www.exlibris.com/primo/xsd/search/request") { query_terms_xml.call xml search_elements_xml.call xml languages_xml.call xml sort_bys_xml.call xml display_fields_xml.call xml locations_xml.call xml } } end |