Sha256: 9ac931a8075668495b2fd7f0e9871f0de866c0ea3cc5ccf768b79d0536b2bd9e
Contents?: true
Size: 681 Bytes
Versions: 32
Compression:
Stored size: 681 Bytes
Contents
module Fog module Parsers module AWS module IAM class ListGroups < Fog::Parsers::Base def reset @group = {} @response = { 'Groups' => [] } end def end_element(name) case name when 'Arn', 'GroupId', 'GroupName', 'Path' @group[name] = @value when 'member' @response['Groups'] << @group @group = {} when 'IsTruncated' response[name] = (@value == 'true') when 'Marker', 'RequestId' response[name] = @value end end end end end end end
Version data entries
32 entries across 32 versions & 3 rubygems