Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base_url #25

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog


## [2.2.0] - 2024-02-09

- Change base URL to bankaccountdata.gocardless.com

## [2.1.3] - 2023-13-07

- Update URLs to GoCardless
Expand Down
2 changes: 1 addition & 1 deletion lib/nordigen-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module Nordigen
class NordigenClient

BASE_URL = "https://ob.gocardless.com/api/v2/"
BASE_URL = "https://bankaccountdata.gocardless.com/api/v2/"

@@headers = {
"accept" => "application/json",
Expand Down
2 changes: 1 addition & 1 deletion lib/nordigen_ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Nordigen
VERSION = "2.1.3"
VERSION = "2.2.0"
end
2 changes: 1 addition & 1 deletion main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module Nordigen

# Initialize bank authorization session
init = client.init_session(
redirect_url: "https://gocardless.com",
redirect_url: "https://bankaccountdata.gocardless.com",
institution_id: id,
reference_id: SecureRandom.uuid,
user_language: "en",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_requisitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def setup()

@institution_id = "REVOLUT_REVOGB21"
@req_params = {
redirect_url: "https://ob.gocardless.com",
redirect_url: "https://bankaccountdata.gocardless.com",
reference: SecureRandom.uuid,
institution_id: @institution_id
}
Expand Down
Loading