Method: Fog::Parsers::Compute::AWS::DescribeNetworkInterfaceAttribute#start_element

Defined in:
lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb

#start_element(name, attrs = []) ⇒ Object



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb', line 15

def start_element(name, attrs = [])
  super
  case name
  when 'description'
    @in_description       = true
  when 'groupSet'
    @in_group_set         = true
    @group                = {}
    unless @response.key?('groupSet')
      @response['groupSet'] = {}
    end
  when 'sourceDestCheck'
    @in_source_dest_check = true
  when 'attachment'
    @in_attachment        = true
    @attachment           = {}
  end
end