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:
parent
d2cfc2560f
commit
b7091ce648
1 changed files with 11 additions and 1 deletions
|
@ -41,6 +41,16 @@ module Fog
|
||||||
true
|
true
|
||||||
end
|
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
|
def destroy
|
||||||
requires :identity
|
requires :identity
|
||||||
data = connection.destroy_firewall_policy(identity)
|
data = connection.destroy_firewall_policy(identity)
|
||||||
|
|
Loading…
Add table
Reference in a new issue