passbook
passbook copied to clipboard
certificate as binary
For multiple certificates which are saved on cloud, instead of creating TempFile we have binary data of certificate that is not Pathname.To add binary data as certificate support in signer.
if you don't want to wait for merge add this code to your initializer
require 'passbook'
module Passbook
class Signer
class File
def self.read(filename)
filename
end
end
end
end
Passbook.configure do |passbook|
passbook.wwdc_cert = ENV['PASSBOOK_INSURANCE_CARD_WWDC_CERT']
....
end
but after that you can't use files