Sha256: 5ccb6e768f022270aa23f3e33d41fd73e42cc280df52a2e9c31b5db9a4a9ca40
Contents?: true
Size: 711 Bytes
Versions: 30
Compression:
Stored size: 711 Bytes
Contents
module Fog module Parsers module AWS module IAM class ListAccessKeys < Fog::Parsers::Base def reset @access_key = {} @response = { 'AccessKeys' => [] } end def end_element(name) case name when 'AccessKeyId', 'Status', 'Username' @access_key[name] = @value when 'member' @response['AccessKeys'] << @access_key @access_key = {} 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