nordigen_ob_client 0.0.6 → 0.0.8

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nordigen_ob_client.rb +9 -9
  3. metadata +3 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94d94165cde4bccbdbbca4e5d4bdee7a88e41d5a587000da6b6e4d0aea7c17e7
4
- data.tar.gz: 6ab467b375b1d9019f03c591cb3d61db03e1c2c5b2d48f28487044c0cc5dc98c
3
+ metadata.gz: ca0760fa269105dd695d4c25390bc4b673b9a6c48fe1111ffb6881c18c102398
4
+ data.tar.gz: 422f15df84f803af9e690e9814134e9dda2ff3c62b383b381bd35f7bcfdab937
5
5
  SHA512:
6
- metadata.gz: f6e4383dac5e48d438235799be533ee4f6de52ea487517d0038bfc5e96cc3820a1125afa831aec0f2ffd49c8c3895314f50a59ec46ccca3d9648e1c0afa0f93b
7
- data.tar.gz: 6882773a0245d92ae08682a90884bb81730762dfd54e521e5ed5b07119c697686fca7541c466116e5d941bec2119b4f7b414e26aba196858e45fdb2e7657e16b
6
+ metadata.gz: 1f94b8966e8b40a16a7763a4b19540cefc7ead01d18b8fd2df2f7e10e32b6e7680eb1ce7b7f4941611e0a6db1d2f80aca6ce29b8adca757f009e9fe75767c920
7
+ data.tar.gz: 980262d79e938e86c3a8f110630bd893cacf5a3305909bf75168710a57c676e5bf547459b998796e9f69b4e63353829263f69908dcead162e13c8b1c7edacbf9
@@ -28,7 +28,7 @@ class NordigenOBClient
28
28
  "secret_key" => secret_key
29
29
  }.to_json
30
30
 
31
- response_json = RestClient.post("https://ob.nordigen.com/api/v2/token/new/",
31
+ response_json = RestClient.post("https://bankaccountdata.gocardless.com//api/v2/token/new/",
32
32
  access_token_params,
33
33
  {content_type: :json, accept: :json})
34
34
  response = JSON.parse(response_json.body)
@@ -59,7 +59,7 @@ class NordigenOBClient
59
59
  #############################################################################
60
60
  def get_banks_by_country country
61
61
  response = RestClient.get(
62
- "https://ob.nordigen.com/api/v2/institutions/?country=#{country}",
62
+ "https://bankaccountdata.gocardless.com//api/v2/institutions/?country=#{country}",
63
63
  headers=@request_header)
64
64
 
65
65
  available_banks = JSON.parse(response.body,
@@ -84,7 +84,7 @@ class NordigenOBClient
84
84
  #############################################################################
85
85
  def list_accounts requisition_id
86
86
  response = RestClient.get(
87
- "https://ob.nordigen.com/api/v2/requisitions/#{requisition_id}",
87
+ "https://bankaccountdata.gocardless.com//api/v2/requisitions/#{requisition_id}/",
88
88
  headers=@request_header)
89
89
  accounts = JSON.parse(response.body)
90
90
  accounts
@@ -112,7 +112,7 @@ class NordigenOBClient
112
112
  #############################################################################
113
113
  def get_account_details account_id
114
114
  response = RestClient.get(
115
- "https://ob.nordigen.com/api/v2/accounts/#{account_id}/details",
115
+ "https://bankaccountdata.gocardless.com//api/v2/accounts/#{account_id}/details/",
116
116
  headers=@request_header)
117
117
  accounts = JSON.parse(response.body)
118
118
  accounts
@@ -141,7 +141,7 @@ class NordigenOBClient
141
141
  #############################################################################
142
142
  def get_account_balances account_id
143
143
  response = RestClient.get(
144
- "https://ob.nordigen.com/api/v2/accounts/#{account_id}/balances/",
144
+ "https://bankaccountdata.gocardless.com//api/v2/accounts/#{account_id}/balances/",
145
145
  headers=@request_header)
146
146
  accounts = JSON.parse(response.body)
147
147
  accounts
@@ -167,7 +167,7 @@ class NordigenOBClient
167
167
  #############################################################################
168
168
  def get_account_overview account_id
169
169
  response = RestClient.get(
170
- "https://ob.nordigen.com/api/v2/accounts/#{account_id}",
170
+ "https://bankaccountdata.gocardless.com//api/v2/accounts/#{account_id}/",
171
171
  headers=@request_header)
172
172
  accounts = JSON.parse(response.body)
173
173
  accounts
@@ -195,7 +195,7 @@ class NordigenOBClient
195
195
  #############################################################################
196
196
  def get_account_transactions account_id
197
197
  response = RestClient.get(
198
- "https://ob.nordigen.com/api/v2/accounts/#{account_id}/transactions",
198
+ "https://bankaccountdata.gocardless.com//api/v2/accounts/#{account_id}/transactions/",
199
199
  headers=@request_header)
200
200
  accounts = JSON.parse(response.body)
201
201
  accounts
@@ -230,7 +230,7 @@ class NordigenOBClient
230
230
  }.to_json
231
231
 
232
232
  response = RestClient.post(
233
- "https://ob.nordigen.com/api/v2/requisitions/",
233
+ "https://bankaccountdata.gocardless.com//api/v2/requisitions/",
234
234
  request_body,
235
235
  headers=@request_header)
236
236
  JSON.parse(response.body)
@@ -250,7 +250,7 @@ class NordigenOBClient
250
250
  #############################################################################
251
251
  def delete_requisition requisition_id
252
252
  response = RestClient.delete(
253
- "https://ob.nordigen.com/api/v2/requisitions/#{requisition_id}/",
253
+ "https://bankaccountdata.gocardless.com//api/v2/requisitions/#{requisition_id}/",
254
254
  headers=@request_header)
255
255
  JSON.parse(response.body)
256
256
  response
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nordigen_ob_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angelos Kapsimanis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-12-25 00:00:00.000000000 Z
10
+ date: 2025-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: A Ruby client for Nordigen's Open Banking v2.0 API. Look at https://nordigen.com/en/account_information_documenation/api-documention/overview/
14
13
  for more details.
@@ -22,7 +21,6 @@ homepage: https://github.com/neffoss/nordigen_ob_client
22
21
  licenses:
23
22
  - Apache-2.0
24
23
  metadata: {}
25
- post_install_message:
26
24
  rdoc_options: []
27
25
  require_paths:
28
26
  - lib
@@ -37,8 +35,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
37
35
  - !ruby/object:Gem::Version
38
36
  version: '0'
39
37
  requirements: []
40
- rubygems_version: 3.2.32
41
- signing_key:
38
+ rubygems_version: 3.6.2
42
39
  specification_version: 4
43
40
  summary: Nordigen's Open Banking v2.0 API client
44
41
  test_files: []