Class: Aws::Ec2::QEc2AttachNetworkInterfaceParser

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

Overview

:nodoc:

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

#method_missing, #parse, #tag_end, #tag_start, #tagstart, #tagtext, #text, xml_lib, xml_lib=

Constructor Details

#initialize(opts = {}) ⇒ QEc2AttachNetworkInterfaceParser

Returns a new instance of QEc2AttachNetworkInterfaceParser.



2715
2716
2717
# File 'lib/ec2/ec2.rb', line 2715

def initialize(opts = {})
  super(opts)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Aws::AwsParser

Instance Method Details

#resetObject



2726
2727
2728
# File 'lib/ec2/ec2.rb', line 2726

def reset
  @result = {}
end

#tagend(name) ⇒ Object



2719
2720
2721
2722
2723
2724
# File 'lib/ec2/ec2.rb', line 2719

def tagend(name)
  case name
  when 'attachmentId'
    @result['attachment_id'] = @text
  end
end