1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|iam] fix 'Path' handling for get_group response

This commit is contained in:
Nick Osborn 2011-08-17 13:15:32 +01:00
parent fa77c2ff1d
commit 3302900967

View file

@ -23,7 +23,7 @@ module Fog
def end_element(name)
case name
when 'Arn'
when 'Arn', 'Path'
if @in_group
@response['Group'][name] = value
elsif @in_users
@ -35,7 +35,7 @@ module Fog
@response['Group'][name] = value
when 'Users'
@in_users = false
when 'UserId', 'UserName', 'Path'
when 'UserId', 'UserName'
@user[name] = value
when 'member'
@response['Users'] << @user