Sha256: 83b40b024c90fd9cb2ac8ff73046c84b08396b66c83af13048d3013919f604ba

Contents?: true

Size: 551 Bytes

Versions: 11

Compression:

Stored size: 551 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)
            @client ||= Savon.client do
              wsdl.endpoint = endpoint
              wsdl.namespace = endpoint
            end
          end
          protected :client
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
exlibris-primo-1.0.10 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.9 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.8 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.7 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.6 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.5 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.4 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.3 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.2 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.1 lib/exlibris/primo/web_service/client/base/savon_client.rb
exlibris-primo-1.0.0 lib/exlibris/primo/web_service/client/base/savon_client.rb