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