lib/fog/aws/dns.rb in fog-1.20.0 vs lib/fog/aws/dns.rb in fog-1.21.0
- old
+ new
@@ -1,7 +1,6 @@
require 'fog/aws/core'
-require 'fog/dns'
module Fog
module DNS
class AWS < Fog::Service
extend Fog::AWS::CredentialFetcher::ServiceMethods
@@ -98,10 +97,10 @@
@persistent = options.fetch(:persistent, true)
@port = options[:port] || 443
@scheme = options[:scheme] || 'https'
@version = options[:version] || '2012-02-29'
- @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options)
+ @connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options)
end
def reload
@connection.reset
end