diff --git a/lib/fog/dynect/requests/dns/delete_record.rb b/lib/fog/dynect/requests/dns/delete_record.rb index 3e307b356..75d12b2b1 100644 --- a/lib/fog/dynect/requests/dns/delete_record.rb +++ b/lib/fog/dynect/requests/dns/delete_record.rb @@ -14,6 +14,7 @@ module Fog def delete_record(type, zone, fqdn, record_id) request( :expects => 200, + :idempotent => true, :method => :delete, :path => ["#{type.to_s.upcase}Record", zone, fqdn, record_id].join('/') ) diff --git a/lib/fog/dynect/requests/dns/get_node_list.rb b/lib/fog/dynect/requests/dns/get_node_list.rb index 4a004638b..fc7bb7153 100644 --- a/lib/fog/dynect/requests/dns/get_node_list.rb +++ b/lib/fog/dynect/requests/dns/get_node_list.rb @@ -14,6 +14,7 @@ module Fog requested_fqdn = options['fqdn'] || options[:fqdn] request( :expects => 200, + :idempotent => true, :method => :get, :path => ['NodeList', zone, requested_fqdn].compact.join('/') ) diff --git a/lib/fog/dynect/requests/dns/get_record.rb b/lib/fog/dynect/requests/dns/get_record.rb index 00ccd2f94..1892306ae 100644 --- a/lib/fog/dynect/requests/dns/get_record.rb +++ b/lib/fog/dynect/requests/dns/get_record.rb @@ -15,6 +15,7 @@ module Fog def get_record(type, zone, fqdn, options = {}) request( :expects => 200, + :idempotent => true, :method => :get, :path => ["#{type.to_s.upcase}Record", zone, fqdn, options['record_id']].compact.join('/') ) diff --git a/lib/fog/dynect/requests/dns/get_zone.rb b/lib/fog/dynect/requests/dns/get_zone.rb index 9a369c5a5..14fefaf1a 100644 --- a/lib/fog/dynect/requests/dns/get_zone.rb +++ b/lib/fog/dynect/requests/dns/get_zone.rb @@ -12,6 +12,7 @@ module Fog def get_zone(options = {}) request( :expects => 200, + :idempotent => true, :method => :get, :path => ['Zone', options['zone']].compact.join('/') ) diff --git a/lib/fog/dynect/requests/dns/post_session.rb b/lib/fog/dynect/requests/dns/post_session.rb index f4f3673f7..4d2cf1973 100644 --- a/lib/fog/dynect/requests/dns/post_session.rb +++ b/lib/fog/dynect/requests/dns/post_session.rb @@ -6,6 +6,7 @@ module Fog def post_session request( :expects => 200, + :idempotent => true, :method => :post, :path => "Session", :body => Fog::JSON.encode({