lib/aws-sdk-iam/group.rb in aws-sdk-iam-1.37.0 vs lib/aws-sdk-iam/group.rb in aws-sdk-iam-1.38.0
- old
+ new
@@ -336,11 +336,11 @@
#
# [1]: http://wikipedia.org/wiki/regex
# @return [GroupPolicy]
def create_policy(options = {})
options = options.merge(group_name: @name)
- resp = @client.put_group_policy(options)
+ @client.put_group_policy(options)
GroupPolicy.new(
group_name: @name,
name: options[:policy_name],
client: @client
)
@@ -432,10 +432,10 @@
# account. Names are not distinguished by case. For example, you cannot
# create resources named both "MyResource" and "myresource".
# @return [Group]
def update(options = {})
options = options.merge(group_name: @name)
- resp = @client.update_group(options)
+ @client.update_group(options)
Group.new(
name: options[:new_group_name],
client: @client
)
end