Method: Awspec::Type::Vpc#initialize
- Defined in:
- lib/awspec/type/vpc.rb
#initialize(id) ⇒ Vpc
Returns a new instance of Vpc.
6 7 8 9 10 |
# File 'lib/awspec/type/vpc.rb', line 6 def initialize(id) super @resource_via_client = find_vpc(id) @id = @resource_via_client.vpc_id if @resource_via_client end |