# File lib/fog/dns/parsers/slicehost/create_record.rb, line 12 def end_element(name) case name when 'zone-id', 'ttl', 'id' @response[name] = value.to_i when 'record-type', 'name', 'data', 'active', 'aux' @response[name] = value end end