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

Fix create_rule to return response instead of boolean.

This commit is contained in:
Rupak Ganguly 2011-12-06 00:29:28 -05:00
parent 35e5cb5688
commit 462116781e

View file

@ -31,7 +31,6 @@ module Fog
def create_rule(range, ip_protocol = "tcp", cidr = "0.0.0.0/0", group_id=nil)
requires :id
connection.create_security_group_rule(id, ip_protocol, range.min, range.max, cidr, group_id)
true
end
def delete_rule(rule_id)