Class: RightAws::RdsInterface::DescribeOrderableDBInstanceOptionsParser
- Inherits:
-
RightAws::RightAWSParser
- Object
- RightAws::RightAWSParser
- RightAws::RdsInterface::DescribeOrderableDBInstanceOptionsParser
- 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
1317 1318 1319 |
# File 'lib/rds/right_rds_interface.rb', line 1317 def reset @result = { :items => [] } end |
#tagend(name) ⇒ Object
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/rds/right_rds_interface.rb', line 1325 def tagend(name) case name when 'Marker' then @result[:marker] = @text when 'MaxRecords' then @result[:max_records] = @text.to_i when 'DBInstanceClass' then @item[:instance_class] = @text when 'Engine' then @item[:engine] = @text when 'EngineVersion' then @item[:engine_version] = @text when 'LicenseModel' then @item[:license_model] = @text when 'MultiAZCapable' then @item[:multi_az_capable] = @text when 'ReadReplicaCapable' then @item[:read_replica_capable] = @text == 'true' when 'Vpc' then @item[:vpc] = @text == 'true' when 'Name' then @item[:availability_zones] << @text when 'OrderableDBInstanceOption' then @result[:items] << @item end end |
#tagstart(name, attributes) ⇒ Object
1320 1321 1322 1323 1324 |
# File 'lib/rds/right_rds_interface.rb', line 1320 def (name, attributes) case name when 'OrderableDBInstanceOption' then @item = { :availability_zones => [] } end end |