Class: RightAws::Ec2::QEc2DescribeKeyPairParser
- Inherits:
-
RightAWSParser
- Object
- RightAWSParser
- RightAws::Ec2::QEc2DescribeKeyPairParser
- Defined in:
- lib/helene/rightscale/ec2/right_ec2.rb
Overview
PARSERS: Key Pair
Constant Summary
Constants inherited from RightAWSParser
RightAWSParser::DEFAULT_XML_LIBRARY
Instance Attribute Summary
Attributes inherited from RightAWSParser
Instance Method Summary collapse
Methods inherited from 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
1244 1245 1246 |
# File 'lib/helene/rightscale/ec2/right_ec2.rb', line 1244 def reset @result = []; end |
#tagend(name) ⇒ Object
1237 1238 1239 1240 1241 1242 1243 |
# File 'lib/helene/rightscale/ec2/right_ec2.rb', line 1237 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:
1234 1235 1236 |
# File 'lib/helene/rightscale/ec2/right_ec2.rb', line 1234 def (name, attributes) @item = {} if name == 'item' end |