Method: Fog::Compute::AWS::VPC#destroy
- Defined in:
- lib/fog/aws/models/compute/vpc.rb
#destroy ⇒ Object
Removes an existing vpc
vpc.destroy
Returns
True or false depending on the result
32 33 34 35 36 37 |
# File 'lib/fog/aws/models/compute/vpc.rb', line 32 def destroy requires :id connection.delete_vpc(id) true end |