Methods

Class/Module Index [+]

Quicksearch

Fog::Connection

@deprecated Use {Fog::Core::Connection} or {XML::SAXParserConnection} if you

require the response body to be parsed.

The Connection class is a wrapper around an instance of Excon::Connection supporting {request} and {reset} only.

{request} includes an option to perform SAX parsing for XML APIs.

@see github.com/geemus/excon/blob/master/lib/excon/connection.rb

Public Instance Methods

request(params, &block) click to toggle source
# File lib/fog/core/deprecated/connection.rb, line 16
def request(params, &block)
  if (parser = params.delete(:parser))
    super(parser, params)
  else
    original_request(params)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.