Method: Aws::Ec2::QEc2VpcsParser#tagend

Defined in:
lib/deltacloud/drivers/ec2/aws_vpc_monkey_patch.rb

#tagend(name) ⇒ Object



240
241
242
243
244
245
246
247
248
249
250
251
252
253
# File 'lib/deltacloud/drivers/ec2/aws_vpc_monkey_patch.rb', line 240

def tagend(name)
  case name
  when 'vpcId' then
    @vpc[:vpc_id] = @text
  when 'state' then
    @vpc[:state] = @text
  when 'cidrBlock' then
    @vpc[:cidr_block] = @text
  when 'dhcpOptionsId' then
    @vpc[:dhcp_options_id] = @text
  when @wrapper
    @result << @vpc
  end
end