1
0
Fork 0
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:
Caius Durling 2011-12-26 12:27:19 +00:00
parent d49f6b418f
commit ceb5a6d73e
2 changed files with 14 additions and 0 deletions

View file

@ -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

View 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