Class: RightAws::RdsInterface::DescribeDbParameterGroupsParser

Inherits:
RightAws::RightAWSParser show all
Defined in:
lib/rds/right_rds_interface.rb

Overview


DB Security Groups

Constant Summary

Constant Summary

Constants inherited from RightAws::RightAWSParser

RightAws::RightAWSParser::DEFAULT_XML_LIBRARY

Instance Attribute Summary

Attributes inherited from RightAws::RightAWSParser

#full_tag_name, #result, #tag, #xml_lib, #xmlpath

Instance Method Summary collapse

Methods inherited from RightAws::RightAWSParser

#initialize, #method_missing, #parse, #tag_end, #tag_start, #tagtext, #text, xml_lib, xml_lib=

Constructor Details

This class inherits a constructor from RightAws::RightAWSParser

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RightAws::RightAWSParser

Instance Method Details

#resetObject

:nodoc:



1184
1185
1186
# File 'lib/rds/right_rds_interface.rb', line 1184

def reset
  @result = { :db_parameter_groups => [] }
end

#tagend(name) ⇒ Object



1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'lib/rds/right_rds_interface.rb', line 1193

def tagend(name)
  case name
  when 'Marker'                 then @result[:marker]       = @text
  when 'MaxRecords'             then @result[:max_records]  = @text.to_i
  when 'DBParameterGroupName'   then @item[:name]           = @text
  when 'Description'            then @item[:description]    = @text
  when 'DBParameterGroupFamily' then @item[:db_parameter_group_family] = @text
  when 'DBParameterGroup',
       'ModifyDBParameterGroupResult' then @result[:db_parameter_groups] << @item
  end
end

#tagstart(name, attributes) ⇒ Object



1187
1188
1189
1190
1191
1192
# File 'lib/rds/right_rds_interface.rb', line 1187

def tagstart(name, attributes)
  case name
  when 'DBParameterGroup',
       'ModifyDBParameterGroupResult' then @item = { }
  end
end