Class: Aws::Ec2::QEc2DescribeKeyPairParser
- Defined in:
- lib/ec2/right_ec2.rb
Overview
PARSERS: Key Pair
Constant Summary
Constants inherited from AwsParser
AwsParser::DEFAULT_XML_LIBRARY
Instance Attribute Summary
Attributes inherited from AwsParser
Instance Method Summary collapse
Methods inherited from AwsParser
#initialize, #method_missing, #parse, #tag_end, #tag_start, #tagtext, #text, xml_lib, xml_lib=
Constructor Details
This class inherits a constructor from Aws::AwsParser
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Aws::AwsParser
Instance Method Details
#reset ⇒ Object
1334 1335 1336 |
# File 'lib/ec2/right_ec2.rb', line 1334 def reset @result = []; end |
#tagend(name) ⇒ Object
1327 1328 1329 1330 1331 1332 1333 |
# File 'lib/ec2/right_ec2.rb', line 1327 def tagend(name) case name when 'keyName' then @item[:aws_key_name] = @text when 'keyFingerprint' then @item[:aws_fingerprint] = @text when 'item' then @result << @item end end |
#tagstart(name, attributes) ⇒ Object
:nodoc:
1324 1325 1326 |
# File 'lib/ec2/right_ec2.rb', line 1324 def (name, attributes) @item = {} if name == 'item' end |