Sha256: 59c03e4f1cd4964b71a8ad65f8d6572b65b579d2d00c31b9fb799969796f10b2
Contents?: true
Size: 854 Bytes
Versions: 98
Compression:
Stored size: 854 Bytes
Contents
module Fog module Parsers module Redshift module AWS require 'fog/aws/parsers/redshift/cluster_snapshot_parser' class DescribeClusterSnapshots < ClusterSnapshotParser # :marker - (String) # :snapshots - (Array) def reset @response = { 'Snapshots' => [] } end def start_element(name, attrs = []) super case name when 'Snapshots' @snapshot = fresh_snapshot end end def end_element(name) super case name when 'Marker' @response[name] = value when 'Snapshot' @response['Snapshots'] << @snapshot @snapshot = fresh_snapshot end end end end end end end
Version data entries
98 entries across 96 versions & 6 rubygems