Class: RightAws::RdsInterface::DescribeDBEngineVersionsParser
- Inherits:
-
RightAws::RightAWSParser
- Object
- RightAws::RightAWSParser
- RightAws::RdsInterface::DescribeDBEngineVersionsParser
- Defined in:
- lib/rds/right_rds_interface.rb
Overview
DB Events
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:
1232 1233 1234 |
# File 'lib/rds/right_rds_interface.rb', line 1232 def reset @result = { :db_engine_versions => [] } end |
#tagend(name) ⇒ Object
1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 |
# File 'lib/rds/right_rds_interface.rb', line 1240 def tagend(name) case name when 'Marker' then @result[:marker] = @text when 'MaxRecords' then @result[:max_records] = @text.to_i when 'DBParameterGroupFamily' then @item[:db_parameter_group_family] = @text when 'Engine' then @item[:engine] = @text when 'EngineVersion' then @item[:engine_version] = @text when 'DBEngineVersion' then @result[:db_engine_versions] << @item end end |
#tagstart(name, attributes) ⇒ Object
1235 1236 1237 1238 1239 |
# File 'lib/rds/right_rds_interface.rb', line 1235 def (name, attributes) case name when 'DBEngineVersion' then @item = {} end end |