Skip to content

Commit cd674e6

Browse files
false[adyen-sdk-automation] automated change (#240)
1 parent 5b8bcea commit cd674e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/adyen/services/management/android_files_company_level_api.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,14 @@ def upload_android_app(company_id, headers: {})
4343
@client.call_adyen_api(@service, action, {}, headers, @version)
4444
end
4545

46+
def upload_android_certificate(company_id, headers: {})
47+
endpoint = '/companies/{companyId}/androidCertificates'.gsub(/{.+?}/, '%s')
48+
endpoint = endpoint.gsub(%r{^/}, '')
49+
endpoint = format(endpoint, company_id)
50+
51+
action = { method: 'post', url: endpoint }
52+
@client.call_adyen_api(@service, action, {}, headers, @version)
53+
end
54+
4655
end
4756
end

0 commit comments

Comments
 (0)