Sha256: 544257b136e585bf43bb46d41fdbc2be918bd30bde2a525afdd204df93a47d96
Contents?: true
Size: 792 Bytes
Versions: 2
Compression:
Stored size: 792 Bytes
Contents
module Fog module Parsers module AWS module IAM class ListSigningCertificates < Fog::Parsers::Base def reset @signing_certificate = {} @response = { 'SigningCertificates' => [] } end def end_element(name) case name when 'UserName', 'CertificateId', 'CertificateBody', 'Status' @signing_certificate[name] = value when 'member' @response['SigningCertificates'] << @signing_certificate @signing_certificate = {} when 'IsTruncated' response[name] = (value == 'true') when 'Marker', 'RequestId' response[name] = value end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/parsers/iam/list_signing_certificates.rb |
fog-1.21.0 | lib/fog/aws/parsers/iam/list_signing_certificates.rb |