Class Exlibris::PrimoWS::GetIt
In: lib/exlibris/primo_ws.rb
Parent: PrimoWebService

TODO: make class constructor "smarter" TODO: enhance error handling

Methods

new  

Constants

Service = "getIt"
Input_Namespace = "http://www.exlibris.com/primo/xsd/wsRequest"

Public Class methods

[Source]

     # File lib/exlibris/primo_ws.rb, line 99
 99:     def initialize(method_name, param_name, input_root, institution, is_logged_in, on_campus, group, pds_handle, additional_input, base_url_str, namespace, soapaction)
100:       service = Service
101:       input = WebServiceInput.new(input_root)
102:       input.add_namespace(Input_Namespace)
103:       input.add_element_with_text("institution", institution) if !institution.nil?
104:       input.add_element_with_text("isLoggedIn", is_logged_in) if !is_logged_in.nil?
105:       input.add_element_with_text("onCampus", on_campus) if !on_campus.nil?
106:       input.add_element_with_text("group", group) if !group.nil?
107:       input.add_element_with_text("pdsHandle", pds_handle) if !pds_handle.nil?
108:       additional_input.each_element do |e|  
109:         input.add_element(e)
110:       end
111:       super(base_url_str, service, namespace, soapaction, method_name, param_name, input)
112:     end

[Validate]