Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Apr 2, 2024
1 parent 5b8bcea commit 67be2a1
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,14 @@ def upload_android_app(company_id, headers: {})
@client.call_adyen_api(@service, action, {}, headers, @version)
end

def upload_android_certificate(company_id, headers: {})
endpoint = '/companies/{companyId}/androidCertificates'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
endpoint = format(endpoint, company_id)

action = { method: 'post', url: endpoint }
@client.call_adyen_api(@service, action, {}, headers, @version)
end

end
end

0 comments on commit 67be2a1

Please sign in to comment.