Sha256: e7e0ee702887fa735cab8cb80132df34cdf3eda08028a0e6782b31e6a3a0d1d9
Contents?: true
Size: 494 Bytes
Versions: 4
Compression:
Stored size: 494 Bytes
Contents
module Fog module Parsers module Bluebox module DNS class GetRecords < Fog::Parsers::Base def reset @record = {} @response = { 'records' => [] } end def end_element(name) case name when 'record' @response['records'] << @record @record = {} else @record[name] = @value end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems