From c387daab081b42d8042eafbfde1f7d2014416fc5 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 09:50:02 +0000 Subject: [PATCH 1/8] Changes generated by 0447966dbc7deb4a368eb115ca363fe1cfcfbd16 This commit was automatically created from gocardless/client-library-templates@0447966dbc7deb4a368eb115ca363fe1cfcfbd16 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/29819672579 --- lib/gocardless_pro/resources/institution.rb | 2 ++ spec/resources/institution_spec.rb | 7 +++++++ spec/services/institutions_service_spec.rb | 11 +++++++++++ 3 files changed, 20 insertions(+) diff --git a/lib/gocardless_pro/resources/institution.rb b/lib/gocardless_pro/resources/institution.rb index 3d89ad32..4fab5671 100644 --- a/lib/gocardless_pro/resources/institution.rb +++ b/lib/gocardless_pro/resources/institution.rb @@ -24,6 +24,7 @@ class Institution attr_reader :limits attr_reader :logo_url attr_reader :name + attr_reader :roles attr_reader :status # Initialize a institution resource instance @@ -38,6 +39,7 @@ def initialize(object, response = nil) @limits = object['limits'] @logo_url = object['logo_url'] @name = object['name'] + @roles = object['roles'] @status = object['status'] @response = response end diff --git a/spec/resources/institution_spec.rb b/spec/resources/institution_spec.rb index bb926067..29eb6218 100644 --- a/spec/resources/institution_spec.rb +++ b/spec/resources/institution_spec.rb @@ -25,6 +25,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -55,6 +56,8 @@ expect(get_list_response.records.first.name).to eq('name-input') + expect(get_list_response.records.first.roles).to eq('roles-input') + expect(get_list_response.records.first.status).to eq('status-input') end @@ -80,6 +83,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -103,6 +107,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -140,6 +145,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -190,6 +196,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }, }.to_json, diff --git a/spec/services/institutions_service_spec.rb b/spec/services/institutions_service_spec.rb index a2ce6840..191a682e 100644 --- a/spec/services/institutions_service_spec.rb +++ b/spec/services/institutions_service_spec.rb @@ -24,6 +24,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -59,6 +60,8 @@ expect(get_list_response.records.first.name).to eq('name-input') + expect(get_list_response.records.first.roles).to eq('roles-input') + expect(get_list_response.records.first.status).to eq('status-input') end @@ -107,6 +110,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -130,6 +134,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -162,6 +167,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -185,6 +191,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -213,6 +220,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -239,6 +247,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -276,6 +285,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }], meta: { @@ -337,6 +347,7 @@ 'limits' => 'limits-input', 'logo_url' => 'logo_url-input', 'name' => 'name-input', + 'roles' => 'roles-input', 'status' => 'status-input', }, }.to_json, From f1f2eadffcb1ee485fb6e8773bcde24fd2270061 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:27:49 +0000 Subject: [PATCH 2/8] Changes generated by 9d9ff143689ee009c9124b148c0c3d597e5060c2 This commit was automatically created from gocardless/client-library-templates@9d9ff143689ee009c9124b148c0c3d597e5060c2 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/29822142078 --- spec/code_samples/customer_notifications_code_samples_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/code_samples/customer_notifications_code_samples_spec.rb b/spec/code_samples/customer_notifications_code_samples_spec.rb index 4a8bf2d0..f72753b2 100644 --- a/spec/code_samples/customer_notifications_code_samples_spec.rb +++ b/spec/code_samples/customer_notifications_code_samples_spec.rb @@ -29,7 +29,7 @@ it 'executes without error' do @client = client - @client.customer_notifications.handle('PCN123') + @client.customer_notifications.handle('EV1D18JEXAMPLE') end end end From 343c6d53fed39cd3f0c055c2d1516f14093d54e7 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 11:52:37 +0000 Subject: [PATCH 3/8] Changes generated by cab4c6d4f4714865da64e55cc2cfce31ce27171a This commit was automatically created from gocardless/client-library-templates@cab4c6d4f4714865da64e55cc2cfce31ce27171a by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30004608005 --- lib/gocardless_pro/resources/outbound_payment.rb | 2 +- lib/gocardless_pro/resources/payer_authorisation.rb | 10 +++++----- lib/gocardless_pro/resources/redirect_flow.rb | 4 ++-- .../services/billing_requests_service.rb | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/gocardless_pro/resources/outbound_payment.rb b/lib/gocardless_pro/resources/outbound_payment.rb index fe95aa68..2558c946 100644 --- a/lib/gocardless_pro/resources/outbound_payment.rb +++ b/lib/gocardless_pro/resources/outbound_payment.rb @@ -18,7 +18,7 @@ module Resources # the status of the outbound payment changes # (https://developer.gocardless.com/api-reference/#event-types-outbound-payment). # - # ####Rate limiting + # Rate limiting # # Two rate limits apply to the Outbound Payments APIs: # diff --git a/lib/gocardless_pro/resources/payer_authorisation.rb b/lib/gocardless_pro/resources/payer_authorisation.rb index e96ccd68..4e4a9d0a 100644 --- a/lib/gocardless_pro/resources/payer_authorisation.rb +++ b/lib/gocardless_pro/resources/payer_authorisation.rb @@ -51,14 +51,14 @@ module Resources # https://api.gocardless.com/events?payer_authorisation={id}&action=completed # # - # Note that the `create` and `update` endpoints behave differently than - # other existing `create` and `update` endpoints. The Payer Authorisation is + # Note that the create and update endpoints behave differently than + # other existing create and update endpoints. The Payer Authorisation is # still saved if incomplete data is provided. - # We return the list of incomplete data in the `incomplete_fields` along - # with the resources in the body of the response. + # We return the list of incomplete data in the incomplete_fields along with + # the resources in the body of the response. # The bank account details(account_number, bank_code & branch_code) must be # sent together rather than splitting across different request for both - # `create` and `update` endpoints. + # create and update endpoints. # # # The API is designed to be flexible and allows you to collect information diff --git a/lib/gocardless_pro/resources/redirect_flow.rb b/lib/gocardless_pro/resources/redirect_flow.rb index b0068106..f1de0cde 100644 --- a/lib/gocardless_pro/resources/redirect_flow.rb +++ b/lib/gocardless_pro/resources/redirect_flow.rb @@ -13,8 +13,8 @@ module Resources # Deprecated: Redirect Flows are legacy APIs and cannot be used by new # integrators. # The Billing Request flow - # (https://developer.gocardless.com/api-reference/#billing-requests) API - # should be used for your payment flows. + # (https://developer.gocardless.com/api-reference/#billing-requests-billing-requests) + # API should be used for your payment flows. # # Redirect flows enable you to use GoCardless' hosted payment pages # (https://pay-sandbox.gocardless.com/AL000000AKFPFF) to set up mandates diff --git a/lib/gocardless_pro/services/billing_requests_service.rb b/lib/gocardless_pro/services/billing_requests_service.rb index d68eab79..d33e567f 100644 --- a/lib/gocardless_pro/services/billing_requests_service.rb +++ b/lib/gocardless_pro/services/billing_requests_service.rb @@ -10,8 +10,8 @@ module GoCardlessPro module Services # Service for making requests to the BillingRequest endpoints class BillingRequestsService < BaseService - # Important: All properties associated with `subscription_request` and - # `instalment_schedule_request` are only supported for ACH and PAD schemes. + # Important: All properties associated with subscription_request and + # instalment_schedule_request are only supported for ACH and PAD schemes. # Example URL: /billing_requests # @param options [Hash] parameters as a hash, under a params key. def create(options = {}) From a96f4ec6d7cb892a0df321337d85e351a80be84b Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:30:53 +0000 Subject: [PATCH 4/8] Changes generated by 21e2aafcb42b73c259b569f768ba4f8a77517aba This commit was automatically created from gocardless/client-library-templates@21e2aafcb42b73c259b569f768ba4f8a77517aba by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30025229229 --- gocardless_pro.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocardless_pro.gemspec b/gocardless_pro.gemspec index 8c875905..13ff6c85 100644 --- a/gocardless_pro.gemspec +++ b/gocardless_pro.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'faraday', ['>= 2', '< 3'] spec.add_dependency 'base64' - spec.add_development_dependency 'rspec', '~> 3.13.0' + spec.add_development_dependency 'rspec', '~> 3.13.2' spec.add_development_dependency 'webmock', '~> 3.24.0' spec.add_development_dependency 'rubocop', '~> 1.85.0' spec.add_development_dependency 'yard', '~> 0.9.37' From c81a3c178100e11a6bb4b68f476edbfc3e0f4d50 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:45:02 +0000 Subject: [PATCH 5/8] Changes generated by 37ace3cbc00f4c37c4fe018f3d733be1d01a28f8 This commit was automatically created from gocardless/client-library-templates@37ace3cbc00f4c37c4fe018f3d733be1d01a28f8 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30026254600 --- gocardless_pro.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocardless_pro.gemspec b/gocardless_pro.gemspec index 13ff6c85..b172599f 100644 --- a/gocardless_pro.gemspec +++ b/gocardless_pro.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'base64' spec.add_development_dependency 'rspec', '~> 3.13.2' - spec.add_development_dependency 'webmock', '~> 3.24.0' + spec.add_development_dependency 'webmock', '~> 3.26.2' spec.add_development_dependency 'rubocop', '~> 1.85.0' spec.add_development_dependency 'yard', '~> 0.9.37' end From f1609a7d5797fade8c8b47545e817e8d50ddb223 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:53:49 +0000 Subject: [PATCH 6/8] Changes generated by 717b3b1301189aad15c3bb4c0dc9001ecf2dafaf This commit was automatically created from gocardless/client-library-templates@717b3b1301189aad15c3bb4c0dc9001ecf2dafaf by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30026881763 --- gocardless_pro.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocardless_pro.gemspec b/gocardless_pro.gemspec index b172599f..6fb9c1aa 100644 --- a/gocardless_pro.gemspec +++ b/gocardless_pro.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rspec', '~> 3.13.2' spec.add_development_dependency 'webmock', '~> 3.26.2' spec.add_development_dependency 'rubocop', '~> 1.85.0' - spec.add_development_dependency 'yard', '~> 0.9.37' + spec.add_development_dependency 'yard', '~> 0.9.45' end From c8b1ddf625b015df6b8d7a5bef0d8669df774946 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 17:32:48 +0000 Subject: [PATCH 7/8] Changes generated by 03c5a92dee86a779113125877d81f061ea5399b2 This commit was automatically created from gocardless/client-library-templates@03c5a92dee86a779113125877d81f061ea5399b2 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30029700340 --- gocardless_pro.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocardless_pro.gemspec b/gocardless_pro.gemspec index 6fb9c1aa..7474b7e9 100644 --- a/gocardless_pro.gemspec +++ b/gocardless_pro.gemspec @@ -23,6 +23,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rspec', '~> 3.13.2' spec.add_development_dependency 'webmock', '~> 3.26.2' - spec.add_development_dependency 'rubocop', '~> 1.85.0' + spec.add_development_dependency 'rubocop', '~> 1.88.2' spec.add_development_dependency 'yard', '~> 0.9.45' end From ea65d9b4d3ba4d99526dcba8c29f7568032a5dbe Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 12:14:20 +0000 Subject: [PATCH 8/8] Changes generated by 823ec60ec0c7bb5c3d6415b3471025c8b91fbbf9 This commit was automatically created from gocardless/client-library-templates@823ec60ec0c7bb5c3d6415b3471025c8b91fbbf9 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/30092215154 --- spec/client_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/client_spec.rb b/spec/client_spec.rb index 67d98136..f557d9e4 100644 --- a/spec/client_spec.rb +++ b/spec/client_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe GoCardlessPro::Client do - subject { -> { described_class.new(options) } } + subject(:client) { described_class.new(options) } let(:options) do { @@ -14,6 +14,8 @@ let(:environment) { :live } let(:token) { nil } - it { is_expected.to raise_error('No Access Token given to GoCardless Client') } + it 'raises an error' do + expect { client }.to raise_error('No Access Token given to GoCardless Client') + end end end