class Fog::Parsers::Redshift::AWS::DescribeClusterParameterGroups

Public Instance Methods

end_element(name) click to toggle source
Calls superclass method
# File lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb, line 24
def end_element(name)
  super
  case name
  when 'Marker'
    @response[name] = value
  when 'ParameterGroupName', 'ParameterGroupFamily', 'Description'
    @parameter_group[name] = value
  when 'ClusterParameterGroup'
    @response['ParameterGroups'] << {name => @parameter_group}
    @parameter_group = {}
  end
end
reset() click to toggle source

:marker - (String) :parameter_groups - (Array)

:parameter_group_name - (String)
:parameter_group_family - (String)
:description - (String)
# File lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb, line 12
def reset
  @response = { 'ParameterGroups' => [] }
end
start_element(name, attrs = []) click to toggle source
Calls superclass method
# File lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb, line 16
def start_element(name, attrs = [])
  super
  case name
  when 'ParameterGroups'
    @parameter_group = {}
  end
end