# File lib/fog/aws/models/iam/users.rb, line 12 def all data = connection.list_users.body['Users'] load(data) # data is an array of attribute hashes end
# File lib/fog/aws/models/iam/users.rb, line 17 def get(identity) data = connection.get_user(identity).body['User'] new(data) # data is an attribute hash rescue Fog::AWS::IAM::NotFound nil end