Class: RightAws::Ec2::QEc2DescribeKeyPairParser
- Inherits:
-
RightAWSParser
- Object
- RightAWSParser
- RightAws::Ec2::QEc2DescribeKeyPairParser
- Defined in:
- lib/ec2/right_ec2.rb
Overview
:nodoc:
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
821 822 823 |
# File 'lib/ec2/right_ec2.rb', line 821 def reset @result = []; end |
#tagend(name) ⇒ Object
814 815 816 817 818 819 820 |
# File 'lib/ec2/right_ec2.rb', line 814 def tagend(name) case name when 'keyName' ; @item.keyName = @text when 'keyFingerprint'; @item.keyFingerprint = @text when 'item' ; @result << @item end end |
#tagstart(name, attributes) ⇒ Object
811 812 813 |
# File 'lib/ec2/right_ec2.rb', line 811 def (name, attributes) @item = QEc2DescribeKeyPairType.new if name == 'item' end |