lib/fog/aws/requests/compute/delete_network_interface.rb in fog-maestrodev-1.14.0.20130806165225 vs lib/fog/aws/requests/compute/delete_network_interface.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_network_interface'
+ require 'fog/aws/parsers/compute/basic'
# Deletes a network interface.
#
# ==== Parameters
# * network_interface_id<~String> - The ID of the network interface you want to delete.
#
@@ -18,10 +18,10 @@
# {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/2012-03-01/APIReference/ApiReference-query-DeleteNetworkInterface.html]
def delete_network_interface(network_interface_id)
request(
'Action' => 'DeleteNetworkInterface',
'NetworkInterfaceId' => network_interface_id,
- :parser => Fog::Parsers::Compute::AWS::DeleteNetworkInterface.new
+ :parser => Fog::Parsers::Compute::AWS::Basic.new
)
end
end
class Mock