Sha256: 11613d9aa34c5ba059e36b814ddc27e5890e2e9329ec2916f7cd25735009a8c7
Contents?: true
Size: 534 Bytes
Versions: 23
Compression:
Stored size: 534 Bytes
Contents
module Fog module Parsers module DNS module Zerigo class GetHost < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'id', 'priority', 'ttl', 'zone-id' @response[name] = value.to_i when 'data', 'fqdn', 'host-type', 'hostname', 'notes', 'zone-id', 'created-at', 'updated-at' @response[name] = value end end end end end end end
Version data entries
23 entries across 23 versions & 5 rubygems