nordigen-ruby 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdad3a2c238fe265d411385287ac6b43be13db699330bf348e36bb4ad8563073
4
- data.tar.gz: e1ac77775d3652715a5d553cc27415b7ef33aaed5880298a29cc397500f7e3e8
3
+ metadata.gz: 7007af42e82905ff97e0c5dbf1dc3647019486589986a5ee51db005dfe1e82c4
4
+ data.tar.gz: ddc7320cda8140c66976062e9377f77e403fafa5081fd94d7d32dc879062d733
5
5
  SHA512:
6
- metadata.gz: 3e64587923d992c8e9593856019b5ceb736e7a122a486fdaa3e82e60e997016109596c4ba6ecf2d575c7514e83b70f495be53ac812435a2d5f1c0ff1e945dccd
7
- data.tar.gz: 1769761d3f1b2d2909cab88bb33c9a872e1bf5a3c7a232fd49c2f309bade086ac5e042c29917bfba6f578a84c5246c472ed3f9060995c0580de0d76b7bd0d89b
6
+ metadata.gz: f85ae5fd50036b9c19db2e93b2128dcca9b218c0d419ae035906d6c1f2fca96b5c36aa24fb41fd9fc6ea8d6f5896ad9ec0bd1e399e0ccea3f0aa432cb220afa3
7
+ data.tar.gz: 8f862f8d8acd0ccdb56aa235fb6699a9f28acadab44e66261e4d835ff4664459d9acbf81d7a2dcc0d026d510bd3c5a112707b8819b3f8f8f0bc49e104708240f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## [2.2.0] - 2022-12-19
3
+ ## [2.1.3] - 2023-13-07
4
+
5
+ - Update URLs to GoCardless
6
+
7
+ ## [2.1.2] - 2022-12-19
4
8
 
5
9
  - Fix redirect_immediate parameter
6
10
  - 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://ob.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.1.3"
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.1.3
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: 2023-07-17 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.2.15
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: Nordigen client for Ruby
79
79
  test_files: []