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