Sha256: 9711605c8b251da6e80bbca422b712d71cd574b9a6665f3fc8a33f43cad690fe
Contents?: true
Size: 639 Bytes
Versions: 38
Compression:
Stored size: 639 Bytes
Contents
module Fog module Parsers module DNS module Zerigo class CreateZone < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'default-ttl', 'id', 'nx-ttl', 'hosts-count' @response[name] = value.to_i when 'created-at', 'custom-nameservers', 'custom-ns', 'domain', 'hostmaster', 'notes', 'ns1', 'ns-type', 'slave-nameservers', 'tag-list', 'updated-at', 'hosts', 'axfr-ips', 'restrict-axfr' @response[name] = value end end end end end end end
Version data entries
38 entries across 36 versions & 5 rubygems