Sha256: e717aebe073570927803e246f04a8b0f30a83fd8e8df610bfc007d2f0df18a7f

Contents?: true

Size: 741 Bytes

Versions: 9

Compression:

Stored size: 741 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

9 entries across 9 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-2.1.0 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-2.0.0 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.9 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.8 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.7 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.6 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.5 lib/exlibris/primo/web_service/response/base.rb
exlibris-primo-1.1.4 lib/exlibris/primo/web_service/response/base.rb