Sha256: 69e0f37754dc4fedae6b7c1af674905bcc856d1990b084b3b6004b01045e1d42
Contents?: true
Size: 669 Bytes
Versions: 59
Compression:
Stored size: 669 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
59 entries across 59 versions & 18 rubygems