Skip to content

Commit c95218d

Browse files
false[adyen-sdk-automation] automated change (#247)
1 parent 683ec65 commit c95218d

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
@@ -34,6 +34,15 @@ def list_android_certificates(company_id, headers: {}, query_params: {})
3434
@client.call_adyen_api(@service, action, {}, headers, @version)
3535
end
3636

37+
def reprocess_android_app(company_id, id, headers: {})
38+
endpoint = '/companies/{companyId}/androidApps/{id}'.gsub(/{.+?}/, '%s')
39+
endpoint = endpoint.gsub(%r{^/}, '')
40+
endpoint = format(endpoint, company_id, id)
41+
42+
action = { method: 'patch', url: endpoint }
43+
@client.call_adyen_api(@service, action, {}, headers, @version)
44+
end
45+
3746
def upload_android_app(company_id, headers: {})
3847
endpoint = '/companies/{companyId}/androidApps'.gsub(/{.+?}/, '%s')
3948
endpoint = endpoint.gsub(%r{^/}, '')

0 commit comments

Comments
 (0)