1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|iam] UploadServerCertificate parser respects CertificateBody and CertificateChain.

This commit is contained in:
Dan Peterson 2014-02-06 17:27:05 -08:00
parent a16a86aa5d
commit 6788c8e6f1

View file

@ -11,7 +11,7 @@ module Fog
def end_element(name)
case name
when 'Arn', 'Path', 'ServerCertificateId', 'ServerCertificateName'
when 'Arn', 'Path', 'ServerCertificateId', 'ServerCertificateName', 'CertificateBody', 'CertificateChain'
@response['Certificate'][name] = value
when 'UploadDate'
@response['Certificate'][name] = Time.parse(value)