# File lib/fog/profitbricks/requests/compute/update_firewall_rule.rb, line 54 def update_firewall_rule(datacenter_id, server_id, nic_id, firewall_rule_id, options = {}) request( :expects => [202], :method => 'PATCH', :path => "/datacenters/#{datacenter_id}/servers/#{server_id}/nics/#{nic_id}/firewallrules/#{firewall_rule_id}", :body => Fog::JSON.encode(options) ) end