Class: RightAws::RdsInterface::DescribeDbParametersParser
- Inherits:
-
RightAws::RightAWSParser
- Object
- RightAws::RightAWSParser
- RightAws::RdsInterface::DescribeDbParametersParser
- Defined in:
- lib/rds/right_rds_interface.rb
Overview
:nodoc:
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
1141 1142 1143 |
# File 'lib/rds/right_rds_interface.rb', line 1141 def reset @result = { :parameters => [] } end |
#tagend(name) ⇒ Object
1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/rds/right_rds_interface.rb', line 1149 def tagend(name) case name when 'Marker' then @result[:marker] = @text when 'MaxRecords' then @result[:max_records] = @text.to_i when 'DBParameterGroupName' then @result[:group_name] = @text # DescribeDbParametersResponse when 'DBParameterGroupFamily' then @result[:db_parameter_group_family] = @text # DescribeDBEngineDefaultParametersResponse when 'DataType' then @item[:data_type] = @text when 'Source' then @item[:source] = @text when 'Description' then @item[:description] = @text when 'IsModifiable' then @item[:is_modifiable] = (@text == 'true') when 'ApplyType' then @item[:apply_type] = @text when 'AllowedValues' then @item[:allowed_values] = @text when 'ParameterName' then @item[:name] = @text when 'ParameterValue' then @item[:value] = @text when 'Parameter' then @result[:parameters] << @item end end |
#tagstart(name, attributes) ⇒ Object
1144 1145 1146 1147 1148 |
# File 'lib/rds/right_rds_interface.rb', line 1144 def (name, attributes) case name when 'Parameter' then @item = {} end end |