nordigen-ruby 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdad3a2c238fe265d411385287ac6b43be13db699330bf348e36bb4ad8563073
4
- data.tar.gz: e1ac77775d3652715a5d553cc27415b7ef33aaed5880298a29cc397500f7e3e8
3
+ metadata.gz: 99c4db96c04600efad1c716cf2c29072f73989f545b2d8c89b6660cfe1259549
4
+ data.tar.gz: 180fcb4a2344e00eccff000106ba0cc930beb3027e37bb4413522800dc3eb1ba
5
5
  SHA512:
6
- metadata.gz: 3e64587923d992c8e9593856019b5ceb736e7a122a486fdaa3e82e60e997016109596c4ba6ecf2d575c7514e83b70f495be53ac812435a2d5f1c0ff1e945dccd
7
- data.tar.gz: 1769761d3f1b2d2909cab88bb33c9a872e1bf5a3c7a232fd49c2f309bade086ac5e042c29917bfba6f578a84c5246c472ed3f9060995c0580de0d76b7bd0d89b
6
+ metadata.gz: 978ebf107b53c3063aef6c6acc9b7753169b9afff17a33fffbe18abb0366ec216052ce94900a10e2d9da1bc4067770a9e588a098e13569886988b7af5c94415b
7
+ data.tar.gz: 8233935bbe20648822803d37040fe634fe68005b977e009eb0719865ee24d72db7348ef545ec356e9b0b5424b76d5a2cf4dda58c664cf6e1ca5816a8bba46b86
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## [2.2.0] - 2022-12-19
3
+
4
+ ## [2.2.0] - 2024-02-09
5
+
6
+ - Change base URL to bankaccountdata.gocardless.com
7
+
8
+ ## [2.1.3] - 2023-13-07
9
+
10
+ - Update URLs to GoCardless
11
+
12
+ ## [2.1.2] - 2022-12-19
4
13
 
5
14
  - Fix redirect_immediate parameter
6
15
  - Add SSN parameter
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Nordigen Ruby Library
2
2
 
3
- This is official Ruby client library for [Nordigen](https://nordigen.com/en).
3
+ This is official Ruby client library for [GoCardless Bank Account Data](https://gocardless.com/bank-account-data/).
4
4
 
5
- For a full list of endpoints and arguments, see the [docs](https://nordigen.com/en/account_information_documenation/api-documention/overview/).
5
+ For a full list of endpoints and arguments, see the [docs](https://developer.gocardless.com/bank-account-data/quick-start-guide).
6
6
 
7
- Before starting to use API you will need to create a new secret and get your `SECRET_ID` and `SECRET_KEY` from the [Nordigen's Open Banking Portal](https://ob.nordigen.com/user-secrets/).
7
+ Before starting to use API you will need to create a new secret and get your `SECRET_ID` and `SECRET_KEY` from the [GoCardless Bank Account Data Portal](https://bankaccountdata.gocardless.com/user-secrets/).
8
8
 
9
9
  ## Requirements
10
10
 
@@ -31,7 +31,7 @@ Example code can be found in `main.rb` file and Ruby on Rails example applicatio
31
31
  require 'securerandom'
32
32
  require 'nordigen-ruby'
33
33
 
34
- # Get secret_id and secret_key from ob.nordigen.com portal and pass to NordigenClient or load from .env file
34
+ # Get secret_id and secret_key from bankaccountdata.gocardless.com/user-secrets/ portal and pass to NordigenClient or load from .env file
35
35
  client = Nordigen::NordigenClient.new(
36
36
  secret_id: "SECRET_ID",
37
37
  secret_key: "SECRET_KEY"
@@ -62,7 +62,7 @@ id = "REVOLUT_REVOGB21"
62
62
  # Returns requisition_id and link to initiate authorization with a bank
63
63
  init = client.init_session(
64
64
  # redirect url after successful authentication
65
- redirect_url: "https://nordigen.com",
65
+ redirect_url: "https://gocardless.com",
66
66
  # institution id
67
67
  institution_id: id,
68
68
  # a unique user ID of someone who's using your services, usually it's a UUID
@@ -88,10 +88,10 @@ After successful authorization with a bank you can fetch your data (details, bal
88
88
  # Get account id after you have completed authorization with a bank.
89
89
  requisition_data = client.requisition.get_requisition_by_id(requisition_id)
90
90
  # Get account id from list
91
- account_id = accounts["accounts"][0]
91
+ account_id = requisition_data["accounts"][0]
92
92
 
93
93
  # Instantiate account object
94
- account = client.account_api(account_id)
94
+ account = client.account(account_id)
95
95
 
96
96
  # Fetch account metadata
97
97
  meta_data = account.get_metadata()
@@ -116,4 +116,4 @@ bundle exec rake test
116
116
 
117
117
  ## Support
118
118
 
119
- For any inquiries please contact support at [support@nordigen.com](support@nordigen.com) or create an issue in repository.
119
+ For any inquiries please contact support at [bank-account-data-support@gocardless.com](bank-account-data-support@gocardless.com) or create an issue in repository.
data/lib/nordigen-ruby.rb CHANGED
@@ -8,7 +8,7 @@ require_relative "nordigen_ruby/api/account"
8
8
  module Nordigen
9
9
  class NordigenClient
10
10
 
11
- BASE_URL = "https://ob.nordigen.com/api/v2/"
11
+ BASE_URL = "https://bankaccountdata.gocardless.com/api/v2/"
12
12
 
13
13
  @@headers = {
14
14
  "accept" => "application/json",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nordigen
4
- VERSION = "2.1.2"
4
+ VERSION = "2.2.0"
5
5
  end
data/nordigen.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = "nordigen-ruby"
9
9
  spec.version = Nordigen::VERSION
10
10
  spec.authors = ["Nordigen Solutions"]
11
- spec.email = ["support@nordigen.com"]
11
+ spec.email = ["bank-account-data-support@gocardless.com"]
12
12
  spec.summary = "Nordigen client for Ruby"
13
13
  spec.homepage = "https://github.com/nordigen/nordigen-ruby"
14
14
  spec.description = "Nordigen official API client for Ruby"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nordigen-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nordigen Solutions
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -26,7 +26,7 @@ dependencies:
26
26
  version: '2.5'
27
27
  description: Nordigen official API client for Ruby
28
28
  email:
29
- - support@nordigen.com
29
+ - bank-account-data-support@gocardless.com
30
30
  executables:
31
31
  - console
32
32
  - setup
@@ -57,7 +57,7 @@ metadata:
57
57
  documentation_uri: https://github.com/nordigen/nordigen-ruby
58
58
  github_repo: https://github.com/nordigen/nordigen-ruby
59
59
  source_code_uri: https://github.com/nordigen/nordigen-ruby
60
- post_install_message:
60
+ post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths:
63
63
  - lib
@@ -72,8 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.0.3.1
76
- signing_key:
75
+ rubygems_version: 3.4.6
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: Nordigen client for Ruby
79
79
  test_files: []