Skip to content

Commit 22bac9c

Browse files
false[adyen-sdk-automation] automated change
1 parent 4d1b0cb commit 22bac9c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/adyen/services/recurring.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ def disable_permit(request, headers: {})
3535
@client.call_adyen_api(@service, action, request, headers, @version)
3636
end
3737

38+
def forward(request, headers: {})
39+
endpoint = '/forward'.gsub(/{.+?}/, '%s')
40+
endpoint = endpoint.gsub(%r{^/}, '')
41+
endpoint = format(endpoint)
42+
43+
action = { method: 'post', url: endpoint }
44+
@client.call_adyen_api(@service, action, request, headers, @version)
45+
end
46+
3847
def list_recurring_details(request, headers: {})
3948
endpoint = '/listRecurringDetails'.gsub(/{.+?}/, '%s')
4049
endpoint = endpoint.gsub(%r{^/}, '')

0 commit comments

Comments
 (0)