Sha256: f6c3c9b62a37dcd66ca9cd93e014baf6d44f87c009f0bc63258375af896b97b4
Contents?: true
Size: 681 Bytes
Versions: 19
Compression:
Stored size: 681 Bytes
Contents
module Fog module Parsers module DNS module Slicehost class CreateRecord < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'zone_id' @response["zone-id"] = value.to_i when 'record_type' @response["record-type"] = value when 'ttl', 'id' @response[name] = value.to_i when 'value' @response["data"] = value when 'name', 'data', 'active', 'aux' @response[name] = value end end end end end end end
Version data entries
19 entries across 19 versions & 6 rubygems