Class: VPC::SimpleVpcStub

Inherits:
SimpleVpc show all
Defined in:
lib/etude_for_aws/vpc/simple_vpc.rb

Instance Attribute Summary

Attributes inherited from Vpc

#config, #gateway, #internet_gateway, #private_route_tables, #private_subnets, #public_route_tables, #public_subnets, #route_tables, #subnets, #vpc_id, #vpn

Instance Method Summary collapse

Methods inherited from SimpleVpc

#create_route_table, #create_subnets

Methods inherited from Vpc

#create_internet_gateway, #create_route_table, #create_subnets, #create_vpc, #delete_internet_gateway, #delete_route_tables, #delete_subnets, #delete_vpc, #get_subnet_infos, #get_vpc_id

Methods included from EC2::VpcInterface

#get_subnet_infos, #get_vpc_id

Constructor Details

#initializeSimpleVpcStub

Returns a new instance of SimpleVpcStub.



51
52
53
54
55
# File 'lib/etude_for_aws/vpc/simple_vpc.rb', line 51

def initialize
  super
  @config = VPC::ConfigurationStub.new
  @gateway = VPC::VpcApiGatewayStub.new
end