Sha256: 3bf36d57cc000a95e5ec785951df52be0368feb0c9da9b362ec0f5888e440e63
Contents?: true
Size: 489 Bytes
Versions: 3
Compression:
Stored size: 489 Bytes
Contents
module Fog module Parsers module Slicehost module DNS class CreateRecord < Fog::Parsers::Base def reset @response = {} end 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 end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-0.8.2 | lib/fog/dns/parsers/slicehost/create_record.rb |
fog-0.8.1 | lib/fog/dns/parsers/slicehost/create_record.rb |
fog-0.8.0 | lib/fog/dns/parsers/slicehost/create_record.rb |