# File lib/fog/aws/parsers/compute/describe_vpcs.rb, line 22 def end_element(name) if @in_tag_set case name when 'item' @vpc['tagSet'][@tag['key']] = @tag['value'] @tag = {} when 'key', 'value' @tag[name] = value when 'tagSet' @in_tag_set = false end else case name when 'vpcId', 'state', 'cidrBlock', 'dhcpOptionsId', 'instanceTenancy' @vpc[name] = value when 'item' @response['vpcSet'] << @vpc @vpc = { 'tagSet' => {} } when 'requestId' @response[name] = value end end end
Generated with the Darkfish Rdoc Generator 2.