Sha256: 3d1dc9f92e88b4db4642ba6c544924b55db12a0ae97e3ca56e64c2a976387669
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
module Fog module Parsers module Bluebox module DNS class CreateRecord < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'serial', 'ttl', 'retry', 'refresh', 'minimum', 'record-count', 'expires' @response[name] = @value.to_i when 'name', 'id' @response[name] = @value end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems