Class: Aws::Ec2::RightBoolResponseParser

Inherits:
AwsParser show all
Defined in:
lib/ec2/right_ec2.rb

Overview


PARSERS: Boolean Response Parser

Constant Summary

Constants inherited from AwsParser

AwsParser::DEFAULT_XML_LIBRARY

Instance Attribute Summary

Attributes inherited from AwsParser

#result, #xml_lib, #xmlpath

Instance Method Summary collapse

Methods inherited from AwsParser

#initialize, #method_missing, #parse, #reset, #tag_end, #tag_start, #tagstart, #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

#tagend(name) ⇒ Object

:nodoc:



1241
1242
1243
# File 'lib/ec2/right_ec2.rb', line 1241

def tagend(name)
  @result = @text=='true' ? true : false if name == 'return'
end