# File lib/ec2/ec2.rb, line 2730 def initialize(wrapper, opts = {}) super(opts) @wrapper = wrapper end
# File lib/ec2/ec2.rb, line 2758 def reset @result = [] end
# File lib/ec2/ec2.rb, line 2739 def tagend(name) case name when 'subnetId' then @subnet[:subnet_id] = @text when 'state' then @subnet[:state] = @text when 'vpcId' then @subnet[:vpc_id] = @text when 'cidrBlock' then @subnet[:cidr_block] = @text when 'availableIpAddressCount' then @subnet[:available_ip_address_count] = @text when 'availabilityZone' then @subnet[:availability_zone] = @text when @wrapper @result << @subnet end end