lib/fog/dns/requests/zerigo/create_zone.rb in fog-0.8.2 vs lib/fog/dns/requests/zerigo/create_zone.rb in fog-0.9.0

- old
+ new

@@ -1,8 +1,8 @@ module Fog - module Zerigo - class DNS + module DNS + class Zerigo class Real require 'fog/dns/parsers/zerigo/create_zone' # Create a new zone for Zerigo's DNS servers to serve/host @@ -76,10 +76,10 @@ request( :body => %Q{<?xml version="1.0" encoding="UTF-8"?><zone><domain>#{domain}</domain><default-ttl type="integer">#{default_ttl}</default-ttl><ns-type>#{ns_type}</ns-type>#{optional_tags}</zone>}, :expects => 201, :method => 'POST', - :parser => Fog::Parsers::Zerigo::DNS::CreateZone.new, + :parser => Fog::Parsers::DNS::Zerigo::CreateZone.new, :path => '/api/1.1/zones.xml' ) end end