lib/fog/dns/parsers/zerigo/find_hosts.rb in fog-0.7.2 vs lib/fog/dns/parsers/zerigo/find_hosts.rb in fog-0.8.0

- old
+ new

@@ -11,12 +11,12 @@ end def end_element(name) case name when 'id', 'priority', 'ttl', 'zone-id' - @host[name] = @value.to_i + @host[name] = value.to_i when 'data', 'fqdn', 'host-type', 'hostname', 'notes', 'zone-id', 'created-at', 'updated-at' - @host[name] = @value + @host[name] = value when 'host' @response['hosts'] << @host @host = {} end end