class Fog::Parsers::Redshift::AWS::DescribeClusterSecurityGroups
Public Instance Methods
end_element(name)
click to toggle source
Calls superclass method
Fog::Parsers::Redshift::AWS::ClusterSecurityGroupParser#end_element
# File lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb, line 23 def end_element(name) super case name when 'Marker' @response[name] = value when 'ClusterSecurityGroup' @response['ClusterSecurityGroups'] << { name => @cluster_security_group } @cluster_security_group = fresh_cluster_security_group end end
reset()
click to toggle source
:marker - (String) :cluster_security_groups - (Array)
# File lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb, line 11 def reset @response = { 'ClusterSecurityGroups' => [] } end
start_element(name, attrs = [])
click to toggle source
Calls superclass method
Fog::Parsers::Redshift::AWS::ClusterSecurityGroupParser#start_element
# File lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb, line 15 def start_element(name, attrs = []) super case name when 'ClusterSecurityGroups' @cluster_security_group = fresh_cluster_security_group end end