lib/spaceship/portal/certificate.rb in spaceship-0.18.1 vs lib/spaceship/portal/certificate.rb in spaceship-0.19.0
- old
+ new
@@ -64,19 +64,23 @@
# "R58UK2EWSO"
# @example Development Certificate
# "5QPB9NHCEI"
attr_accessor :type_display_id
+ # @return (Bool) Whether or not the certificate can be downloaded
+ attr_accessor :can_download
+
attr_mapping({
'certificateId' => :id,
'name' => :name,
'statusString' => :status,
'dateCreated' => :created,
'expirationDate' => :expires,
'ownerType' => :owner_type,
'ownerName' => :owner_name,
'ownerId' => :owner_id,
- 'certificateTypeDisplayId' => :type_display_id
+ 'certificateTypeDisplayId' => :type_display_id,
+ 'canDownload' => :can_download
})
#####################################################
# Certs are not associated with apps
#####################################################