Sha256: 3d15d49d1829f509a6a7e1eae5204d44e7422cff0f37003590ae6f373246d3fa
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
module VPC class Subnet attr_accessor :subnet_id,:az def create(vpc,subnet_cidr_block,az) @az = az @subnet_id = vpc.gateway.create_subnet(subnet_cidr_block,vpc.vpc_id,az) end def delete(vpc) vpc.gateway.delete_subnet(@subnet_id) end end end
Version data entries
5 entries across 5 versions & 1 rubygems