lib/fog/zerigo/requests/dns/update_zone.rb in fog-1.22.0 vs lib/fog/zerigo/requests/dns/update_zone.rb in fog-1.22.1

- old
+ new

@@ -1,10 +1,9 @@ module Fog module DNS class Zerigo class Real - # Update the parameters of a zone # ==== Parameters # # * zone_id<~Integer> # * options<~Hash> - optional paramaters @@ -23,11 +22,10 @@ # # ==== Returns # * response<~Excon::Response>: # * 'status'<~Integer> - 200 for success def update_zone(zone_id, options = {}) - optional_tags= '' options.each { |option, value| case option when :default_ttl optional_tags+= "<default-ttl>#{value}</default-ttl>" @@ -61,10 +59,9 @@ :expects => 200, :method => 'PUT', :path => "/api/1.1/zones/#{zone_id}.xml" ) end - end class Mock # :nodoc:all def update_zone(zone_id, options = {}) zone = find_by_zone_id(zone_id)