fog 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fog.gemspec +1 -1
- data/lib/fog/aws/models/ec2/instance.rb +1 -1
- data/lib/fog/aws/models/ec2/security_group.rb +7 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.28
|
data/fog.gemspec
CHANGED
@@ -9,6 +9,13 @@ module Fog
|
|
9
9
|
attribute :ip_permissions, 'ipPermissions'
|
10
10
|
attribute :owner_id, 'ownerId'
|
11
11
|
|
12
|
+
def authorize(options = {})
|
13
|
+
options = {
|
14
|
+
'GroupName' => @name
|
15
|
+
}.merge!(options)
|
16
|
+
connection.authorize_security_group_ingress(options)
|
17
|
+
end
|
18
|
+
|
12
19
|
def destroy
|
13
20
|
connection.delete_security_group(@group_name)
|
14
21
|
true
|