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.



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

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



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

def reset
  @result = {}
end

#tagend(name) ⇒ Object



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

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