class Fog::Parsers::AWS::IAM::ListGroupsForUser
Public Instance Methods
end_element(name)
click to toggle source
# File lib/fog/aws/parsers/iam/list_groups_for_user.rb, line 11 def end_element(name) case name when 'Path', 'GroupName', 'GroupId', 'Arn' @group_for_user[name] = value when 'member' @response['GroupsForUser'] << @group_for_user @group_for_user = {} when 'IsTruncated' response[name] = (value == 'true') when 'Marker', 'RequestId' response[name] = value end end
reset()
click to toggle source
# File lib/fog/aws/parsers/iam/list_groups_for_user.rb, line 6 def reset @group_for_user = {} @response = { 'GroupsForUser' => [] } end