20 21 22 23
# File 'lib/ec2/resources.rb', line 20 def subnet(name, &block) subnet = Subnet.new(name, vpc_id: @vpc_id) subnet.created &block end