module Exlibris::Primo::WebService::Request::Call

Public Instance Methods

call() click to toggle source

Returns an response Exlibris::Primo::WebService::Response that corresponds to the request.

# 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