lib/fog/aws/requests/compute/delete_vpc.rb in fog-maestrodev-1.14.0.20130806165225 vs lib/fog/aws/requests/compute/delete_vpc.rb in fog-maestrodev-1.15.0.20130829165835
- old
+ new
@@ -1,11 +1,11 @@
module Fog
module Compute
class AWS
class Real
- require 'fog/aws/parsers/compute/delete_vpc'
+ require 'fog/aws/parsers/compute/basic'
# Deletes a VPC. You must detach or delete all gateways or other objects
# that are dependent on the VPC first. For example, you must terminate
# all running instances, delete all VPC security groups (except the
# default), delete all the route tables (except the default), etc.
@@ -22,10 +22,10 @@
# {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/2011-07-15/APIReference/index.html?ApiReference-query-DeleteVpc.html]
def delete_vpc(vpc_id)
request(
'Action' => 'DeleteVpc',
'VpcId' => vpc_id,
- :parser => Fog::Parsers::Compute::AWS::DeleteVpc.new
+ :parser => Fog::Parsers::Compute::AWS::Basic.new
)
end
end
class Mock