From f627315128408f29717b83ef7dbf0d8dae898800 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 07:21:53 +0000 Subject: [PATCH] Changes generated by 3e1f400ebb6ef7dde575bc655e3c942fe7be526d This commit was automatically created from gocardless/client-library-templates@3e1f400ebb6ef7dde575bc655e3c942fe7be526d by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/34573829862 --- spec/resources/bank_account_holder_verification_spec.rb | 2 +- spec/resources/bank_authorisation_spec.rb | 2 +- spec/resources/billing_request_spec.rb | 2 +- spec/resources/billing_request_template_spec.rb | 2 +- spec/resources/block_spec.rb | 2 +- spec/resources/creditor_bank_account_spec.rb | 2 +- spec/resources/creditor_spec.rb | 2 +- spec/resources/customer_bank_account_spec.rb | 2 +- spec/resources/customer_spec.rb | 2 +- spec/resources/instalment_schedule_spec.rb | 4 ++-- spec/resources/mandate_import_spec.rb | 2 +- spec/resources/mandate_spec.rb | 2 +- spec/resources/outbound_payment_import_spec.rb | 2 +- spec/resources/outbound_payment_spec.rb | 2 +- spec/resources/payer_authorisation_spec.rb | 2 +- spec/resources/payment_spec.rb | 2 +- spec/resources/redirect_flow_spec.rb | 2 +- spec/resources/refund_spec.rb | 2 +- spec/resources/scheme_identifier_spec.rb | 2 +- spec/resources/subscription_spec.rb | 2 +- .../bank_account_holder_verifications_service_spec.rb | 2 +- spec/services/bank_authorisations_service_spec.rb | 2 +- spec/services/billing_request_templates_service_spec.rb | 2 +- spec/services/billing_requests_service_spec.rb | 2 +- spec/services/blocks_service_spec.rb | 2 +- spec/services/creditor_bank_accounts_service_spec.rb | 2 +- spec/services/creditors_service_spec.rb | 2 +- spec/services/customer_bank_accounts_service_spec.rb | 2 +- spec/services/customers_service_spec.rb | 2 +- spec/services/instalment_schedules_service_spec.rb | 4 ++-- spec/services/mandate_imports_service_spec.rb | 2 +- spec/services/mandates_service_spec.rb | 2 +- spec/services/outbound_payment_imports_service_spec.rb | 2 +- spec/services/outbound_payments_service_spec.rb | 2 +- spec/services/payer_authorisations_service_spec.rb | 2 +- spec/services/payments_service_spec.rb | 2 +- spec/services/redirect_flows_service_spec.rb | 2 +- spec/services/refunds_service_spec.rb | 2 +- spec/services/scheme_identifiers_service_spec.rb | 2 +- spec/services/subscriptions_service_spec.rb | 2 +- 40 files changed, 42 insertions(+), 42 deletions(-) diff --git a/spec/resources/bank_account_holder_verification_spec.rb b/spec/resources/bank_account_holder_verification_spec.rb index c6c1f275..a37fccb8 100644 --- a/spec/resources/bank_account_holder_verification_spec.rb +++ b/spec/resources/bank_account_holder_verification_spec.rb @@ -121,7 +121,7 @@ end let!(:get_stub) do - stub_url = "/bank_account_holder_verifications/#{id}" + stub_url = '/bank_account_holder_verifications/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/bank_authorisation_spec.rb b/spec/resources/bank_authorisation_spec.rb index 04985753..5de081bc 100644 --- a/spec/resources/bank_authorisation_spec.rb +++ b/spec/resources/bank_authorisation_spec.rb @@ -141,7 +141,7 @@ end let!(:get_stub) do - stub_url = "/bank_authorisations/#{id}" + stub_url = '/bank_authorisations/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/billing_request_spec.rb b/spec/resources/billing_request_spec.rb index fef97bc4..5caf1c8b 100644 --- a/spec/resources/billing_request_spec.rb +++ b/spec/resources/billing_request_spec.rb @@ -165,7 +165,7 @@ end let!(:get_stub) do - stub_url = "/billing_requests/#{id}" + stub_url = '/billing_requests/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/billing_request_template_spec.rb b/spec/resources/billing_request_template_spec.rb index a7339c07..af0135cb 100644 --- a/spec/resources/billing_request_template_spec.rb +++ b/spec/resources/billing_request_template_spec.rb @@ -444,7 +444,7 @@ end let!(:get_stub) do - stub_url = "/billing_request_templates/#{id}" + stub_url = '/billing_request_templates/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/block_spec.rb b/spec/resources/block_spec.rb index a3a39401..1b49da7b 100644 --- a/spec/resources/block_spec.rb +++ b/spec/resources/block_spec.rb @@ -133,7 +133,7 @@ end let!(:get_stub) do - stub_url = "/blocks/#{id}" + stub_url = '/blocks/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/creditor_bank_account_spec.rb b/spec/resources/creditor_bank_account_spec.rb index 25c97738..9a71ba7f 100644 --- a/spec/resources/creditor_bank_account_spec.rb +++ b/spec/resources/creditor_bank_account_spec.rb @@ -149,7 +149,7 @@ end let!(:get_stub) do - stub_url = "/creditor_bank_accounts/#{id}" + stub_url = '/creditor_bank_accounts/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/creditor_spec.rb b/spec/resources/creditor_spec.rb index ee69ab27..c36cf464 100644 --- a/spec/resources/creditor_spec.rb +++ b/spec/resources/creditor_spec.rb @@ -185,7 +185,7 @@ end let!(:get_stub) do - stub_url = "/creditors/#{id}" + stub_url = '/creditors/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/customer_bank_account_spec.rb b/spec/resources/customer_bank_account_spec.rb index ebbe78f5..b2bfce15 100644 --- a/spec/resources/customer_bank_account_spec.rb +++ b/spec/resources/customer_bank_account_spec.rb @@ -157,7 +157,7 @@ end let!(:get_stub) do - stub_url = "/customer_bank_accounts/#{id}" + stub_url = '/customer_bank_accounts/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/customer_spec.rb b/spec/resources/customer_spec.rb index 6f866229..cd6605bb 100644 --- a/spec/resources/customer_spec.rb +++ b/spec/resources/customer_spec.rb @@ -173,7 +173,7 @@ end let!(:get_stub) do - stub_url = "/customers/#{id}" + stub_url = '/customers/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/instalment_schedule_spec.rb b/spec/resources/instalment_schedule_spec.rb index 53b48b99..678c0bcb 100644 --- a/spec/resources/instalment_schedule_spec.rb +++ b/spec/resources/instalment_schedule_spec.rb @@ -137,7 +137,7 @@ end let!(:get_stub) do - stub_url = "/instalment_schedules/#{id}" + stub_url = '/instalment_schedules/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { @@ -294,7 +294,7 @@ end let!(:get_stub) do - stub_url = "/instalment_schedules/#{id}" + stub_url = '/instalment_schedules/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/mandate_import_spec.rb b/spec/resources/mandate_import_spec.rb index 93322b44..fda303cd 100644 --- a/spec/resources/mandate_import_spec.rb +++ b/spec/resources/mandate_import_spec.rb @@ -121,7 +121,7 @@ end let!(:get_stub) do - stub_url = "/mandate_imports/#{id}" + stub_url = '/mandate_imports/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/mandate_spec.rb b/spec/resources/mandate_spec.rb index 6dccdc62..f75faef9 100644 --- a/spec/resources/mandate_spec.rb +++ b/spec/resources/mandate_spec.rb @@ -165,7 +165,7 @@ end let!(:get_stub) do - stub_url = "/mandates/#{id}" + stub_url = '/mandates/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/outbound_payment_import_spec.rb b/spec/resources/outbound_payment_import_spec.rb index 8003a59d..25752bd9 100644 --- a/spec/resources/outbound_payment_import_spec.rb +++ b/spec/resources/outbound_payment_import_spec.rb @@ -133,7 +133,7 @@ end let!(:get_stub) do - stub_url = "/outbound_payment_imports/#{id}" + stub_url = '/outbound_payment_imports/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/outbound_payment_spec.rb b/spec/resources/outbound_payment_spec.rb index bfeb2398..2093d0eb 100644 --- a/spec/resources/outbound_payment_spec.rb +++ b/spec/resources/outbound_payment_spec.rb @@ -153,7 +153,7 @@ end let!(:get_stub) do - stub_url = "/outbound_payments/#{id}" + stub_url = '/outbound_payments/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/payer_authorisation_spec.rb b/spec/resources/payer_authorisation_spec.rb index d12f790e..f14f91c9 100644 --- a/spec/resources/payer_authorisation_spec.rb +++ b/spec/resources/payer_authorisation_spec.rb @@ -222,7 +222,7 @@ end let!(:get_stub) do - stub_url = "/payer_authorisations/#{id}" + stub_url = '/payer_authorisations/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/payment_spec.rb b/spec/resources/payment_spec.rb index b1ef4c78..2147b93a 100644 --- a/spec/resources/payment_spec.rb +++ b/spec/resources/payment_spec.rb @@ -165,7 +165,7 @@ end let!(:get_stub) do - stub_url = "/payments/#{id}" + stub_url = '/payments/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/redirect_flow_spec.rb b/spec/resources/redirect_flow_spec.rb index 620653c8..414f382b 100644 --- a/spec/resources/redirect_flow_spec.rb +++ b/spec/resources/redirect_flow_spec.rb @@ -145,7 +145,7 @@ end let!(:get_stub) do - stub_url = "/redirect_flows/#{id}" + stub_url = '/redirect_flows/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/refund_spec.rb b/spec/resources/refund_spec.rb index e4ce1217..d28c96fa 100644 --- a/spec/resources/refund_spec.rb +++ b/spec/resources/refund_spec.rb @@ -137,7 +137,7 @@ end let!(:get_stub) do - stub_url = "/refunds/#{id}" + stub_url = '/refunds/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/scheme_identifier_spec.rb b/spec/resources/scheme_identifier_spec.rb index b26e7639..8eb1ded4 100644 --- a/spec/resources/scheme_identifier_spec.rb +++ b/spec/resources/scheme_identifier_spec.rb @@ -173,7 +173,7 @@ end let!(:get_stub) do - stub_url = "/scheme_identifiers/#{id}" + stub_url = '/scheme_identifiers/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/resources/subscription_spec.rb b/spec/resources/subscription_spec.rb index afeca8dc..04d1dd7b 100644 --- a/spec/resources/subscription_spec.rb +++ b/spec/resources/subscription_spec.rb @@ -185,7 +185,7 @@ end let!(:get_stub) do - stub_url = "/subscriptions/#{id}" + stub_url = '/subscriptions/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/bank_account_holder_verifications_service_spec.rb b/spec/services/bank_account_holder_verifications_service_spec.rb index c015e8e5..8c06e377 100644 --- a/spec/services/bank_account_holder_verifications_service_spec.rb +++ b/spec/services/bank_account_holder_verifications_service_spec.rb @@ -144,7 +144,7 @@ end let!(:get_stub) do - stub_url = "/bank_account_holder_verifications/#{id}" + stub_url = '/bank_account_holder_verifications/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/bank_authorisations_service_spec.rb b/spec/services/bank_authorisations_service_spec.rb index f80a3bb4..35e30233 100644 --- a/spec/services/bank_authorisations_service_spec.rb +++ b/spec/services/bank_authorisations_service_spec.rb @@ -164,7 +164,7 @@ end let!(:get_stub) do - stub_url = "/bank_authorisations/#{id}" + stub_url = '/bank_authorisations/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/billing_request_templates_service_spec.rb b/spec/services/billing_request_templates_service_spec.rb index 2947e8df..69913ebc 100644 --- a/spec/services/billing_request_templates_service_spec.rb +++ b/spec/services/billing_request_templates_service_spec.rb @@ -698,7 +698,7 @@ end let!(:get_stub) do - stub_url = "/billing_request_templates/#{id}" + stub_url = '/billing_request_templates/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/billing_requests_service_spec.rb b/spec/services/billing_requests_service_spec.rb index 49171dfd..be6504c8 100644 --- a/spec/services/billing_requests_service_spec.rb +++ b/spec/services/billing_requests_service_spec.rb @@ -188,7 +188,7 @@ end let!(:get_stub) do - stub_url = "/billing_requests/#{id}" + stub_url = '/billing_requests/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/blocks_service_spec.rb b/spec/services/blocks_service_spec.rb index 422e0280..fc1547e9 100644 --- a/spec/services/blocks_service_spec.rb +++ b/spec/services/blocks_service_spec.rb @@ -156,7 +156,7 @@ end let!(:get_stub) do - stub_url = "/blocks/#{id}" + stub_url = '/blocks/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/creditor_bank_accounts_service_spec.rb b/spec/services/creditor_bank_accounts_service_spec.rb index 66ee6d6f..8252b283 100644 --- a/spec/services/creditor_bank_accounts_service_spec.rb +++ b/spec/services/creditor_bank_accounts_service_spec.rb @@ -172,7 +172,7 @@ end let!(:get_stub) do - stub_url = "/creditor_bank_accounts/#{id}" + stub_url = '/creditor_bank_accounts/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/creditors_service_spec.rb b/spec/services/creditors_service_spec.rb index 7a857a2c..d93f34e0 100644 --- a/spec/services/creditors_service_spec.rb +++ b/spec/services/creditors_service_spec.rb @@ -208,7 +208,7 @@ end let!(:get_stub) do - stub_url = "/creditors/#{id}" + stub_url = '/creditors/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/customer_bank_accounts_service_spec.rb b/spec/services/customer_bank_accounts_service_spec.rb index 7bebd82c..ab073626 100644 --- a/spec/services/customer_bank_accounts_service_spec.rb +++ b/spec/services/customer_bank_accounts_service_spec.rb @@ -180,7 +180,7 @@ end let!(:get_stub) do - stub_url = "/customer_bank_accounts/#{id}" + stub_url = '/customer_bank_accounts/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/customers_service_spec.rb b/spec/services/customers_service_spec.rb index ab8f41f4..c8c011d2 100644 --- a/spec/services/customers_service_spec.rb +++ b/spec/services/customers_service_spec.rb @@ -196,7 +196,7 @@ end let!(:get_stub) do - stub_url = "/customers/#{id}" + stub_url = '/customers/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/instalment_schedules_service_spec.rb b/spec/services/instalment_schedules_service_spec.rb index a0bad218..ad469644 100644 --- a/spec/services/instalment_schedules_service_spec.rb +++ b/spec/services/instalment_schedules_service_spec.rb @@ -160,7 +160,7 @@ end let!(:get_stub) do - stub_url = "/instalment_schedules/#{id}" + stub_url = '/instalment_schedules/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { @@ -356,7 +356,7 @@ end let!(:get_stub) do - stub_url = "/instalment_schedules/#{id}" + stub_url = '/instalment_schedules/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/mandate_imports_service_spec.rb b/spec/services/mandate_imports_service_spec.rb index f8aff6e3..fdd977ce 100644 --- a/spec/services/mandate_imports_service_spec.rb +++ b/spec/services/mandate_imports_service_spec.rb @@ -144,7 +144,7 @@ end let!(:get_stub) do - stub_url = "/mandate_imports/#{id}" + stub_url = '/mandate_imports/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/mandates_service_spec.rb b/spec/services/mandates_service_spec.rb index 7928f52e..e8309ccf 100644 --- a/spec/services/mandates_service_spec.rb +++ b/spec/services/mandates_service_spec.rb @@ -188,7 +188,7 @@ end let!(:get_stub) do - stub_url = "/mandates/#{id}" + stub_url = '/mandates/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/outbound_payment_imports_service_spec.rb b/spec/services/outbound_payment_imports_service_spec.rb index 29a6df81..bc447e67 100644 --- a/spec/services/outbound_payment_imports_service_spec.rb +++ b/spec/services/outbound_payment_imports_service_spec.rb @@ -156,7 +156,7 @@ end let!(:get_stub) do - stub_url = "/outbound_payment_imports/#{id}" + stub_url = '/outbound_payment_imports/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/outbound_payments_service_spec.rb b/spec/services/outbound_payments_service_spec.rb index d9732936..0218b393 100644 --- a/spec/services/outbound_payments_service_spec.rb +++ b/spec/services/outbound_payments_service_spec.rb @@ -176,7 +176,7 @@ end let!(:get_stub) do - stub_url = "/outbound_payments/#{id}" + stub_url = '/outbound_payments/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/payer_authorisations_service_spec.rb b/spec/services/payer_authorisations_service_spec.rb index 591b614d..2876d83c 100644 --- a/spec/services/payer_authorisations_service_spec.rb +++ b/spec/services/payer_authorisations_service_spec.rb @@ -300,7 +300,7 @@ end let!(:get_stub) do - stub_url = "/payer_authorisations/#{id}" + stub_url = '/payer_authorisations/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/payments_service_spec.rb b/spec/services/payments_service_spec.rb index 44eb1ee6..8d142a7e 100644 --- a/spec/services/payments_service_spec.rb +++ b/spec/services/payments_service_spec.rb @@ -188,7 +188,7 @@ end let!(:get_stub) do - stub_url = "/payments/#{id}" + stub_url = '/payments/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/redirect_flows_service_spec.rb b/spec/services/redirect_flows_service_spec.rb index 3ccf3d2e..0c1b9bd7 100644 --- a/spec/services/redirect_flows_service_spec.rb +++ b/spec/services/redirect_flows_service_spec.rb @@ -168,7 +168,7 @@ end let!(:get_stub) do - stub_url = "/redirect_flows/#{id}" + stub_url = '/redirect_flows/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/refunds_service_spec.rb b/spec/services/refunds_service_spec.rb index 79d1161d..eb28f863 100644 --- a/spec/services/refunds_service_spec.rb +++ b/spec/services/refunds_service_spec.rb @@ -160,7 +160,7 @@ end let!(:get_stub) do - stub_url = "/refunds/#{id}" + stub_url = '/refunds/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/scheme_identifiers_service_spec.rb b/spec/services/scheme_identifiers_service_spec.rb index a085503b..d57fdef7 100644 --- a/spec/services/scheme_identifiers_service_spec.rb +++ b/spec/services/scheme_identifiers_service_spec.rb @@ -196,7 +196,7 @@ end let!(:get_stub) do - stub_url = "/scheme_identifiers/#{id}" + stub_url = '/scheme_identifiers/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: { diff --git a/spec/services/subscriptions_service_spec.rb b/spec/services/subscriptions_service_spec.rb index 060f5535..cae39afd 100644 --- a/spec/services/subscriptions_service_spec.rb +++ b/spec/services/subscriptions_service_spec.rb @@ -208,7 +208,7 @@ end let!(:get_stub) do - stub_url = "/subscriptions/#{id}" + stub_url = '/subscriptions/:identity'.gsub(':identity', id) stub_request(:get, /.*api.gocardless.com#{stub_url}/). to_return( body: {