Sha256: a14690ad7019d8cf2def7047c931f06e99d0f5ae6a6998d31120c13cd3504fdb

Contents?: true

Size: 739 Bytes

Versions: 11

Compression:

Stored size: 739 Bytes

Contents

module Exlibris
  module Primo
    module WebService
      module Response
        class Base
          include Abstract
          include Error
          include Namespaces
          include Util
          include XmlUtil
          self.abstract = true

          attr_reader :savon_response, :soap_action, :code, :body
          protected :savon_response, :soap_action

          def initialize savon_response, soap_action
            super
            @savon_response = savon_response
            @code = savon_response.http.code
            @body = savon_response.http.body
            @soap_action = soap_action
            @raw_xml = savon_response.body[response_key][return_key]
          end
        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/response/base.rb
exlibris-primo-1.0.9 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.8 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.7 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.6 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.5 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.4 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.3 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.2 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.1 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.0.0 lib/exlibris/primo/web_service/response/base.rb