1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[Brightbox] Add model method for remove

This commit is contained in:
Hemant Kumar 2011-10-20 17:44:21 +05:30
parent d2cfc2560f
commit b7091ce648

View file

@ -41,6 +41,16 @@ module Fog
true
end
def remove(server_group_id)
requires :identity
options = {
:server_group => server_group_id
}
data = connection.remove_firewall_policy(identity, options)
merge_attributes(data)
true
end
def destroy
requires :identity
data = connection.destroy_firewall_policy(identity)
@ -51,4 +61,4 @@ module Fog
end
end
end
end