Sha256: 8e11ab566f0a8a75c3fae08cfd9a517ba79d06effd06ac49a6036185183f4c83

Contents?: true

Size: 530 Bytes

Versions: 12

Compression:

Stored size: 530 Bytes

Contents

module Exlibris
  module Primo
    module WebService
      module Client
        module SavonClient
          require 'savon'

          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: wsdl)
            @client ||= Savon.client(endpoint: endpoint, namespace: endpoint, log: false, log_level: :warn)
          end
          protected :client
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
exlibris-primo-2.0.0 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.9 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.8 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.7 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.6 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.5 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.4 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.3 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.2 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.1 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.1.0 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.11 lib/exlibris/primo/web_service/client/base/savon_client.rb