Module: Exlibris::Primo::WebService::Request::Call
- Included in:
- Base
- Defined in:
- lib/exlibris/primo/web_service/request/base/call.rb
Instance Method Summary collapse
-
#call ⇒ Object
Returns an response Exlibris::Primo::WebService::Response that corresponds to the request.
Instance Method Details
#call ⇒ Object
Returns an response Exlibris::Primo::WebService::Response that corresponds to the request.
10 11 12 13 14 |
# File 'lib/exlibris/primo/web_service/request/base/call.rb', line 10 def call # Get the Response class that matches the Request class. response_klass = "Exlibris::Primo::WebService::Response::#{self.class.name.demodulize}".constantize response_klass.new(client.send(soap_action, to_xml), soap_action) end |