Sha256: a99b98e06b5307bfa1b4790ccd89a146eeb99bca0f1bd158fd922c9c42eb370d
Contents?: true
Size: 672 Bytes
Versions: 30
Compression:
Stored size: 672 Bytes
Contents
module Fog module Parsers module AWS module IAM class ListUsers < Fog::Parsers::Base def reset @user = {} @response = { 'Users' => [] } end def end_element(name) case name when 'Arn', 'UserId', 'UserName', 'Path' @user[name] = @value when 'member' @response['Users'] << @user @user = {} when 'IsTruncated' response[name] = (@value == 'true') when 'Marker', 'RequestId' response[name] = @value end end end end end end end
Version data entries
30 entries across 30 versions & 3 rubygems