class Fog::Parsers::Redshift::AWS::DescribeClusterSnapshots

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb, line 23
def end_element(name)
  super
  case name
  when 'Marker'
    @response[name] = value
  when 'Snapshot'
    @response['Snapshots'] << @snapshot
    @snapshot = fresh_snapshot
  end
end
reset() click to toggle source

:marker - (String) :snapshots - (Array)

# File lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb, line 11
def reset
  @response = { 'Snapshots' => [] }
end
start_element(name, attrs = []) click to toggle source
# File lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb, line 15
def start_element(name, attrs = [])
  super
  case name
  when 'Snapshots'
    @snapshot = fresh_snapshot
  end
end