Sha256: 97ead80d4540d304a6efc14468d4fb31449a0762987b3853ab274941812cf05b
Contents?: true
Size: 885 Bytes
Versions: 8
Compression:
Stored size: 885 Bytes
Contents
module Fog module Parsers module AWS module IAM class ListServerCertificates < Fog::Parsers::Base def reset @response = { 'Certificates' => [] } reset_certificate end def reset_certificate @certificate = {} end def end_element(name) case name when 'Arn', 'Path', 'ServerCertificateId', 'ServerCertificateName' @certificate[name] = value when 'UploadDate' @certificate[name] = Time.parse(value) when 'member' @response['Certificates'] << @certificate reset_certificate when 'IsTruncated' @response[name] = !!value when 'Marker' @response[name] = value end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems