lib/aws/iam/user.rb in aws-sdk-1.4.1 vs lib/aws/iam/user.rb in aws-sdk-1.5.0
- old
+ new
@@ -95,14 +95,14 @@
# identify which division or part of an organization the user
# belongs to.
mutable_attribute :path
populates_from(:create_user, :get_user) do |resp|
- resp.user if resp.user.user_name == name
+ resp[:user] if resp[:user][:user_name] == name
end
populates_from(:list_users, :get_group) do |resp|
- resp.users.find{|u| u.user_name == name }
+ resp[:users].find{|u| u[:user_name] == name }
end
# Deletes this user.
# @return [nil]
def delete