Sha256: c997a4d9b227af64db682ff58427ecdc4fd1f4eed15656c481eac6ce7c8f193a
Contents?: true
Size: 497 Bytes
Versions: 14
Compression:
Stored size: 497 Bytes
Contents
module Bunq ## # https://doc.bunq.com/api/1/call/certificate-pinned class CertificatePinned def initialize(parent_resource) @resource = parent_resource.append("/certificate-pinned") end ## # https://doc.bunq.com/api/1/call/certificate-pinned/method/post def create(pem_certificate) @resource.with_session do @resource.post({ certificate_chain: [ {certificate: pem_certificate} ] }) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems