Sha256: 4cf8c103afc712822ca2d97a3bd0254e74ded1c5979339620d7395b70fefebbf
Contents?: true
Size: 683 Bytes
Versions: 72
Compression:
Stored size: 683 Bytes
Contents
module Fog module Parsers module CDN module AWS class GetInvalidation < Fog::Parsers::Base def reset @response = { 'InvalidationBatch' => { 'Path' => [] } } end def start_element(name, attrs = []) super end def end_element(name) case name when 'Path' @response['InvalidationBatch'][name] << value when 'Id', 'Status', 'CreateTime' @response[name] = value when 'CallerReference' @response['InvalidationBatch'][name] = value end end end end end end end
Version data entries
72 entries across 72 versions & 9 rubygems