Sha256: 730923bf8cfbbfee526e47441e1e2117f3d3755a3375727b1e832eb9f208dd60
Contents?: true
Size: 617 Bytes
Versions: 40
Compression:
Stored size: 617 Bytes
Contents
module Fog module Parsers module Redshift module AWS require 'fog/aws/parsers/redshift/cluster_parser' class DescribeClusters < ClusterParser def reset super @response = {"ClusterSet" => []} end def start_element(name, attrs = []) super end def end_element(name) super case name when 'Cluster' @response["ClusterSet"] << {name => @cluster} @cluster = fresh_cluster end end end end end end end
Version data entries
40 entries across 40 versions & 2 rubygems