mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Brightbox] Add request for remove_firewall_policy
This commit is contained in:
parent
cddae88809
commit
d2cfc2560f
1 changed files with 14 additions and 0 deletions
14
lib/fog/brightbox/requests/compute/remove_firewall_policy.rb
Normal file
14
lib/fog/brightbox/requests/compute/remove_firewall_policy.rb
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
module Fog
|
||||||
|
module Compute
|
||||||
|
class Brightbox
|
||||||
|
class Real
|
||||||
|
|
||||||
|
def remove_firewall_policy(identifier, options)
|
||||||
|
return nil if identifier.nil? || identifier == ""
|
||||||
|
request("post", "/1.0/firewall_policies/#{identifier}/remove", [202], options)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue