# File lib/fog/profitbricks/requests/compute/delete_nic.rb, line 27 def delete_nic(datacenter_id, server_id, nic_id) response = Excon::Response.new response.status = 202 if nic = data[:nics]["items"].find do |attribute| attribute["datacenter_id"] == datacenter_id && attribute["server_id"] == server_id && attribute["id"] == nic_id end else raise Fog::Errors::NotFound, "The requested nic resource could not be found" end response end