Class: RightAws::RdsInterface::DescribeDbParameterGroupsParser
- Inherits:
-
RightAws::RightAWSParser
- Object
- RightAws::RightAWSParser
- RightAws::RdsInterface::DescribeDbParameterGroupsParser
- Defined in:
- lib/rds/right_rds_interface.rb
Overview
DB Security Groups
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
#reset ⇒ Object
:nodoc:
892 893 894 895 |
# File 'lib/rds/right_rds_interface.rb', line 892 def reset @m = [ 'DBParameterGroup', 'CreateDBParameterGroupResult', 'ModifyDBParameterGroupResult' ] @result = { :db_parameter_groups => [] } end |
#tagend(name) ⇒ Object
901 902 903 904 905 906 907 908 909 910 |
# File 'lib/rds/right_rds_interface.rb', line 901 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 'Engine' then @item[:engine] = @text when *@m then @result[:db_parameter_groups] << @item end end |
#tagstart(name, attributes) ⇒ Object
896 897 898 899 900 |
# File 'lib/rds/right_rds_interface.rb', line 896 def (name, attributes) case name when *@m then @item = { } end end |