mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Adding update_firewall_rule request
This commit is contained in:
parent
d49f6b418f
commit
ceb5a6d73e
2 changed files with 14 additions and 0 deletions
|
@ -95,6 +95,7 @@ module Fog
|
|||
request :update_account
|
||||
request :update_api_client
|
||||
request :update_cloud_ip
|
||||
request :update_firewall_rule
|
||||
request :update_image
|
||||
request :update_load_balancer
|
||||
request :update_server
|
||||
|
|
13
lib/fog/brightbox/requests/compute/update_firewall_rule.rb
Normal file
13
lib/fog/brightbox/requests/compute/update_firewall_rule.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
module Fog
|
||||
module Compute
|
||||
class Brightbox
|
||||
class Real
|
||||
|
||||
def update_firewall_rule(id, options)
|
||||
request("put", "/1.0/firewall_rules/#{id}", [202], options)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue