Sha256: 1b376a1527593da591699d489d1928bb4d2fedc0e8bc1fe6917b573e28ef3206

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

Stored size: 687 Bytes

Contents

module Fog
  # @note Extracting XML components out of core is a work in progress.
  #
  # The {XML} module includes functionality that is common between APIs using
  # XML to send and receive data.
  #
  # The intent is to provide common code for provider APIs using XML but not
  # require it for those using JSON.
  #
  # @todo Add +require "fog/xml"+ and/or +include Fog::XML+ to providers using
  #   its services
  #
  module XML
    class Connection < Fog::XML::SAXParserConnection
      def request(params, &block)
        if (parser = params.delete(:parser))
          super(parser, params)
        else
          original_request(params)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.24.0 lib/fog/xml/connection.rb
fog-1.23.0 lib/fog/xml/connection.rb