lib/fog/rackspace/cdn.rb in fog-1.20.0 vs lib/fog/rackspace/cdn.rb in fog-1.21.0

- old
+ new

@@ -1,7 +1,6 @@ require 'fog/rackspace/core' -require 'fog/cdn' module Fog module CDN class Rackspace < Fog::Service requires :rackspace_api_key, :rackspace_username @@ -142,10 +141,10 @@ authenticate(options) @enabled = false @persistent = options[:persistent] || false if endpoint_uri - @connection = Fog::Connection.new(endpoint_uri.to_s, @persistent, @connection_options) + @connection = Fog::XML::Connection.new(endpoint_uri.to_s, @persistent, @connection_options) @enabled = true end end # Resets CDN connection