lib/exlibris/primo/web_service/client/base/savon_client.rb in exlibris-primo-1.0.10 vs lib/exlibris/primo/web_service/client/base/savon_client.rb in exlibris-primo-1.0.11

- old
+ new

@@ -8,14 +8,11 @@ def client # # We're not using WSDL at the moment, since # we don't want to make an extra HTTP call. # - # @client ||= Savon.client(wsdl) - @client ||= Savon.client do - wsdl.endpoint = endpoint - wsdl.namespace = endpoint - end + # @client ||= Savon.client(wsdl: wsdl) + @client ||= Savon.client(endpoint: endpoint, namespace: endpoint, log: false, log_level: :warn) end protected :client end end end \ No newline at end of file