budgea_client 1.3.6 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -5
  3. data/Gemfile.lock +3 -23
  4. data/README.md +14 -1
  5. data/budgea_openapi.json +12 -0
  6. data/config.json +2 -1
  7. data/docs/AdministrationApi.md +144 -18
  8. data/docs/AuthenticationApi.md +64 -8
  9. data/docs/BanksApi.md +896 -112
  10. data/docs/ConnectionsApi.md +128 -16
  11. data/docs/DocumentsApi.md +608 -76
  12. data/docs/OCRApi.md +16 -2
  13. data/docs/OIDCApi.md +24 -3
  14. data/docs/PFMApi.md +312 -39
  15. data/docs/ProvidersApi.md +864 -108
  16. data/docs/RecipientsApi.md +32 -4
  17. data/docs/TermsApi.md +32 -4
  18. data/docs/TransfersApi.md +320 -40
  19. data/docs/UsersManagementApi.md +96 -12
  20. data/docs/WealthApi.md +112 -14
  21. data/lib/budgea_client/api/administration_api.rb +18 -18
  22. data/lib/budgea_client/api/authentication_api.rb +8 -8
  23. data/lib/budgea_client/api/banks_api.rb +112 -112
  24. data/lib/budgea_client/api/connections_api.rb +16 -16
  25. data/lib/budgea_client/api/documents_api.rb +76 -76
  26. data/lib/budgea_client/api/ocr_api.rb +2 -2
  27. data/lib/budgea_client/api/oidc_api.rb +3 -3
  28. data/lib/budgea_client/api/pfm_api.rb +39 -39
  29. data/lib/budgea_client/api/providers_api.rb +108 -108
  30. data/lib/budgea_client/api/recipients_api.rb +4 -4
  31. data/lib/budgea_client/api/terms_api.rb +4 -4
  32. data/lib/budgea_client/api/transfers_api.rb +40 -40
  33. data/lib/budgea_client/api/users_management_api.rb +12 -12
  34. data/lib/budgea_client/api/wealth_api.rb +14 -14
  35. data/lib/budgea_client/api_client.rb +1 -0
  36. data/lib/budgea_client/configuration.rb +7 -0
  37. data/lib/budgea_client/version.rb +1 -1
  38. metadata +2 -4
  39. data/pkg/budgea_client-1.3.5.gem +0 -0
  40. data/pkg/budgea_client-1.3.6.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aab5b9faa0f8ad5d67c991c28f99c4020c443a4ec4997f99712fe657b2dd4692
4
- data.tar.gz: b0d89c55784792f23b6863b662dec9335ebf2e753b22d71803473d89c897f584
3
+ metadata.gz: 4e062aab61328dde4308cafe36ffb3f7c84f2cade5a3db2610bf932f2b8f1a16
4
+ data.tar.gz: e41339aa7b403b015f1e6e1dd24b04e452ad8b70e33829e5539851546af7c1ff
5
5
  SHA512:
6
- metadata.gz: 7d8528829c49bee9608f9fbacc1ad5493eaec7287a1d6ec0fd081f5f290a3aec9440089a2fd61e23f2cc917afa3f34b43794b93a85d1cdeec1a2df22e48ff02e
7
- data.tar.gz: 300dd4e34b1e62961f8a32ffd75a15f473d7689769840b0a3755b51cefdf6664d510f7b66939cef9508ffd862aeb7cff52f1ac14d0f4e5b5aed88e3dedf808a4
6
+ metadata.gz: 332ebc3fb9481c69f1f2de0a795453c1eebdd83fb3684ebc1571eef81a145e0136c93b0ed6953f75959617c8870c91480e1dadfd8c209270d840c00a5dc6c154
7
+ data.tar.gz: '00609864731855a4374a26b064c70ff9f5fb7c020360dd3e4ecc11f2a67caa021f9941cbcdc32b94df638ed70e53ffa75494d2dbdd041afa1920c2a46637d9cf'
data/Gemfile CHANGED
@@ -4,9 +4,4 @@ gemspec
4
4
 
5
5
  group :development, :test do
6
6
  gem 'rake', '~> 12.0.0'
7
- gem 'rubocop'
8
7
  end
9
-
10
- group :doc do
11
- gem 'yard'
12
- end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (1.3.6)
4
+ budgea_client (1.3.9)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -11,10 +11,9 @@ GEM
11
11
  ZenTest (4.11.1)
12
12
  addressable (2.5.2)
13
13
  public_suffix (>= 2.0.2, < 4.0)
14
- ast (2.4.0)
15
14
  autotest (4.4.6)
16
15
  ZenTest (>= 4.4.1)
17
- autotest-fsevent (0.2.13)
16
+ autotest-fsevent (0.2.14)
18
17
  sys-uname
19
18
  autotest-growl (0.2.16)
20
19
  autotest-rails-pure (4.1.2)
@@ -25,14 +24,8 @@ GEM
25
24
  ffi (>= 1.3.0)
26
25
  ffi (1.9.25)
27
26
  hashdiff (0.3.7)
28
- jaro_winkler (1.5.1)
29
27
  json (2.1.0)
30
- parallel (1.12.1)
31
- parser (2.5.1.2)
32
- ast (~> 2.4.0)
33
- powerpack (0.1.2)
34
28
  public_suffix (3.0.3)
35
- rainbow (3.0.0)
36
29
  rake (12.0.0)
37
30
  rspec (3.8.0)
38
31
  rspec-core (~> 3.8.0)
@@ -40,34 +33,23 @@ GEM
40
33
  rspec-mocks (~> 3.8.0)
41
34
  rspec-core (3.8.0)
42
35
  rspec-support (~> 3.8.0)
43
- rspec-expectations (3.8.1)
36
+ rspec-expectations (3.8.2)
44
37
  diff-lcs (>= 1.2.0, < 2.0)
45
38
  rspec-support (~> 3.8.0)
46
39
  rspec-mocks (3.8.0)
47
40
  diff-lcs (>= 1.2.0, < 2.0)
48
41
  rspec-support (~> 3.8.0)
49
42
  rspec-support (3.8.0)
50
- rubocop (0.59.1)
51
- jaro_winkler (~> 1.5.1)
52
- parallel (~> 1.10)
53
- parser (>= 2.5, != 2.5.1.1)
54
- powerpack (~> 0.1)
55
- rainbow (>= 2.2.2, < 4.0)
56
- ruby-progressbar (~> 1.7)
57
- unicode-display_width (~> 1.0, >= 1.0.1)
58
- ruby-progressbar (1.10.0)
59
43
  safe_yaml (1.0.4)
60
44
  sys-uname (1.0.3)
61
45
  ffi (>= 1.0.0)
62
46
  typhoeus (1.3.0)
63
47
  ethon (>= 0.9.0)
64
- unicode-display_width (1.4.0)
65
48
  vcr (3.0.3)
66
49
  webmock (1.24.6)
67
50
  addressable (>= 2.3.6)
68
51
  crack (>= 0.3.2)
69
52
  hashdiff
70
- yard (0.9.16)
71
53
 
72
54
  PLATFORMS
73
55
  ruby
@@ -80,10 +62,8 @@ DEPENDENCIES
80
62
  budgea_client!
81
63
  rake (~> 12.0.0)
82
64
  rspec (~> 3.6, >= 3.6.0)
83
- rubocop
84
65
  vcr (~> 3.0, >= 3.0.1)
85
66
  webmock (~> 1.24, >= 1.24.3)
86
- yard
87
67
 
88
68
  BUNDLED WITH
89
69
  1.16.2
data/README.md CHANGED
@@ -742,6 +742,14 @@ Please follow the [installation](#installation) procedure and then run the follo
742
742
  # Load the gem
743
743
  require 'budgea_client'
744
744
 
745
+ # Setup authorization
746
+ BudgeaClient.configure do |config|
747
+ # Configure API key authorization: api_key
748
+ config.api_key['Authorization'] = 'YOUR API KEY'
749
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
750
+ #config.api_key_prefix['Authorization'] = 'Bearer'
751
+ end
752
+
745
753
  api_instance = BudgeaClient::AdministrationApi.new
746
754
 
747
755
  opts = {
@@ -1304,5 +1312,10 @@ Class | Method | HTTP request | Description
1304
1312
 
1305
1313
  ## Documentation for Authorization
1306
1314
 
1307
- All endpoints do not require authorization.
1315
+
1316
+ ### api_key
1317
+
1318
+ - **Type**: API key
1319
+ - **API key parameter name**: Authorization
1320
+ - **Location**: HTTP header
1308
1321
 
data/budgea_openapi.json CHANGED
@@ -22135,5 +22135,17 @@
22135
22135
  "url": "https://cashbee-sandbox.biapi.pro/2.0",
22136
22136
  "description": "cashbee-sandbox.biapi.pro"
22137
22137
  }
22138
+ ],
22139
+ "securityDefinitions": {
22140
+ "api_key": {
22141
+ "type": "apiKey",
22142
+ "name": "Authorization",
22143
+ "in": "header"
22144
+ }
22145
+ },
22146
+ "security": [
22147
+ {
22148
+ "api_key": []
22149
+ }
22138
22150
  ]
22139
22151
  }
data/config.json CHANGED
@@ -5,5 +5,6 @@
5
5
  "gemSummary": "Budgea API Documentation Ruby Gem",
6
6
  "gemDescription": "Budgea API Documentation Ruby Gem",
7
7
  "gemHomepage": "https://github.com/cashbee-team/budgea_client",
8
- "moduleName": "BudgeaClient"
8
+ "moduleName": "BudgeaClient",
9
+ "gemLicense": "Apache 2.0"
9
10
  }
@@ -35,6 +35,13 @@ List clients
35
35
  ```ruby
36
36
  # load the gem
37
37
  require 'budgea_client'
38
+ # setup authorization
39
+ BudgeaClient.configure do |config|
40
+ # Configure API key authorization: api_key
41
+ config.api_key['Authorization'] = 'YOUR API KEY'
42
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
43
+ #config.api_key_prefix['Authorization'] = 'Bearer'
44
+ end
38
45
 
39
46
  api_instance = BudgeaClient::AdministrationApi.new
40
47
 
@@ -63,7 +70,7 @@ Name | Type | Description | Notes
63
70
 
64
71
  ### Authorization
65
72
 
66
- No authorization required
73
+ [api_key](../README.md#api_key)
67
74
 
68
75
  ### HTTP request headers
69
76
 
@@ -83,6 +90,13 @@ Delete a client
83
90
  ```ruby
84
91
  # load the gem
85
92
  require 'budgea_client'
93
+ # setup authorization
94
+ BudgeaClient.configure do |config|
95
+ # Configure API key authorization: api_key
96
+ config.api_key['Authorization'] = 'YOUR API KEY'
97
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
98
+ #config.api_key_prefix['Authorization'] = 'Bearer'
99
+ end
86
100
 
87
101
  api_instance = BudgeaClient::AdministrationApi.new
88
102
 
@@ -114,7 +128,7 @@ Name | Type | Description | Notes
114
128
 
115
129
  ### Authorization
116
130
 
117
- No authorization required
131
+ [api_key](../README.md#api_key)
118
132
 
119
133
  ### HTTP request headers
120
134
 
@@ -134,6 +148,13 @@ If you use the manage_token, you will get also the client_secret.<br><br>
134
148
  ```ruby
135
149
  # load the gem
136
150
  require 'budgea_client'
151
+ # setup authorization
152
+ BudgeaClient.configure do |config|
153
+ # Configure API key authorization: api_key
154
+ config.api_key['Authorization'] = 'YOUR API KEY'
155
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
156
+ #config.api_key_prefix['Authorization'] = 'Bearer'
157
+ end
137
158
 
138
159
  api_instance = BudgeaClient::AdministrationApi.new
139
160
 
@@ -165,7 +186,7 @@ Name | Type | Description | Notes
165
186
 
166
187
  ### Authorization
167
188
 
168
- No authorization required
189
+ [api_key](../README.md#api_key)
169
190
 
170
191
  ### HTTP request headers
171
192
 
@@ -185,6 +206,13 @@ Delete the client logo
185
206
  ```ruby
186
207
  # load the gem
187
208
  require 'budgea_client'
209
+ # setup authorization
210
+ BudgeaClient.configure do |config|
211
+ # Configure API key authorization: api_key
212
+ config.api_key['Authorization'] = 'YOUR API KEY'
213
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
214
+ #config.api_key_prefix['Authorization'] = 'Bearer'
215
+ end
188
216
 
189
217
  api_instance = BudgeaClient::AdministrationApi.new
190
218
 
@@ -216,7 +244,7 @@ Name | Type | Description | Notes
216
244
 
217
245
  ### Authorization
218
246
 
219
- No authorization required
247
+ [api_key](../README.md#api_key)
220
248
 
221
249
  ### HTTP request headers
222
250
 
@@ -236,6 +264,13 @@ Update the client logo
236
264
  ```ruby
237
265
  # load the gem
238
266
  require 'budgea_client'
267
+ # setup authorization
268
+ BudgeaClient.configure do |config|
269
+ # Configure API key authorization: api_key
270
+ config.api_key['Authorization'] = 'YOUR API KEY'
271
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
272
+ #config.api_key_prefix['Authorization'] = 'Bearer'
273
+ end
239
274
 
240
275
  api_instance = BudgeaClient::AdministrationApi.new
241
276
 
@@ -267,7 +302,7 @@ Name | Type | Description | Notes
267
302
 
268
303
  ### Authorization
269
304
 
270
- No authorization required
305
+ [api_key](../README.md#api_key)
271
306
 
272
307
  ### HTTP request headers
273
308
 
@@ -287,6 +322,13 @@ Update a client
287
322
  ```ruby
288
323
  # load the gem
289
324
  require 'budgea_client'
325
+ # setup authorization
326
+ BudgeaClient.configure do |config|
327
+ # Configure API key authorization: api_key
328
+ config.api_key['Authorization'] = 'YOUR API KEY'
329
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
330
+ #config.api_key_prefix['Authorization'] = 'Bearer'
331
+ end
290
332
 
291
333
  api_instance = BudgeaClient::AdministrationApi.new
292
334
 
@@ -336,7 +378,7 @@ Name | Type | Description | Notes
336
378
 
337
379
  ### Authorization
338
380
 
339
- No authorization required
381
+ [api_key](../README.md#api_key)
340
382
 
341
383
  ### HTTP request headers
342
384
 
@@ -356,6 +398,13 @@ Create a client
356
398
  ```ruby
357
399
  # load the gem
358
400
  require 'budgea_client'
401
+ # setup authorization
402
+ BudgeaClient.configure do |config|
403
+ # Configure API key authorization: api_key
404
+ config.api_key['Authorization'] = 'YOUR API KEY'
405
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
406
+ #config.api_key_prefix['Authorization'] = 'Bearer'
407
+ end
359
408
 
360
409
  api_instance = BudgeaClient::AdministrationApi.new
361
410
 
@@ -384,7 +433,7 @@ Name | Type | Description | Notes
384
433
 
385
434
  ### Authorization
386
435
 
387
- No authorization required
436
+ [api_key](../README.md#api_key)
388
437
 
389
438
  ### HTTP request headers
390
439
 
@@ -404,6 +453,13 @@ Get configuration of the API.
404
453
  ```ruby
405
454
  # load the gem
406
455
  require 'budgea_client'
456
+ # setup authorization
457
+ BudgeaClient.configure do |config|
458
+ # Configure API key authorization: api_key
459
+ config.api_key['Authorization'] = 'YOUR API KEY'
460
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
461
+ #config.api_key_prefix['Authorization'] = 'Bearer'
462
+ end
407
463
 
408
464
  api_instance = BudgeaClient::AdministrationApi.new
409
465
 
@@ -431,7 +487,7 @@ nil (empty response body)
431
487
 
432
488
  ### Authorization
433
489
 
434
- No authorization required
490
+ [api_key](../README.md#api_key)
435
491
 
436
492
  ### HTTP request headers
437
493
 
@@ -451,6 +507,13 @@ Request: { \"bank.connection.disable_new\": \"0\", \"search\": \"bank.connection
451
507
  ```ruby
452
508
  # load the gem
453
509
  require 'budgea_client'
510
+ # setup authorization
511
+ BudgeaClient.configure do |config|
512
+ # Configure API key authorization: api_key
513
+ config.api_key['Authorization'] = 'YOUR API KEY'
514
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
515
+ #config.api_key_prefix['Authorization'] = 'Bearer'
516
+ end
454
517
 
455
518
  api_instance = BudgeaClient::AdministrationApi.new
456
519
 
@@ -479,7 +542,7 @@ Name | Type | Description | Notes
479
542
 
480
543
  ### Authorization
481
544
 
482
- No authorization required
545
+ [api_key](../README.md#api_key)
483
546
 
484
547
  ### HTTP request headers
485
548
 
@@ -499,6 +562,13 @@ get performances stats on this instance
499
562
  ```ruby
500
563
  # load the gem
501
564
  require 'budgea_client'
565
+ # setup authorization
566
+ BudgeaClient.configure do |config|
567
+ # Configure API key authorization: api_key
568
+ config.api_key['Authorization'] = 'YOUR API KEY'
569
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
570
+ #config.api_key_prefix['Authorization'] = 'Bearer'
571
+ end
502
572
 
503
573
  api_instance = BudgeaClient::AdministrationApi.new
504
574
 
@@ -526,7 +596,7 @@ nil (empty response body)
526
596
 
527
597
  ### Authorization
528
598
 
529
- No authorization required
599
+ [api_key](../README.md#api_key)
530
600
 
531
601
  ### HTTP request headers
532
602
 
@@ -546,6 +616,13 @@ It can be used to test receiving data on your webhooks.<br><br>
546
616
  ```ruby
547
617
  # load the gem
548
618
  require 'budgea_client'
619
+ # setup authorization
620
+ BudgeaClient.configure do |config|
621
+ # Configure API key authorization: api_key
622
+ config.api_key['Authorization'] = 'YOUR API KEY'
623
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
624
+ #config.api_key_prefix['Authorization'] = 'Bearer'
625
+ end
549
626
 
550
627
  api_instance = BudgeaClient::AdministrationApi.new
551
628
 
@@ -566,7 +643,7 @@ nil (empty response body)
566
643
 
567
644
  ### Authorization
568
645
 
569
- No authorization required
646
+ [api_key](../README.md#api_key)
570
647
 
571
648
  ### HTTP request headers
572
649
 
@@ -586,6 +663,13 @@ It can be used to test receiving data on your webhooks.<br><br>
586
663
  ```ruby
587
664
  # load the gem
588
665
  require 'budgea_client'
666
+ # setup authorization
667
+ BudgeaClient.configure do |config|
668
+ # Configure API key authorization: api_key
669
+ config.api_key['Authorization'] = 'YOUR API KEY'
670
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
671
+ #config.api_key_prefix['Authorization'] = 'Bearer'
672
+ end
589
673
 
590
674
  api_instance = BudgeaClient::AdministrationApi.new
591
675
 
@@ -606,7 +690,7 @@ nil (empty response body)
606
690
 
607
691
  ### Authorization
608
692
 
609
- No authorization required
693
+ [api_key](../README.md#api_key)
610
694
 
611
695
  ### HTTP request headers
612
696
 
@@ -626,6 +710,13 @@ Updates the deleted field with the date of the deletion<br><br>
626
710
  ```ruby
627
711
  # load the gem
628
712
  require 'budgea_client'
713
+ # setup authorization
714
+ BudgeaClient.configure do |config|
715
+ # Configure API key authorization: api_key
716
+ config.api_key['Authorization'] = 'YOUR API KEY'
717
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
718
+ #config.api_key_prefix['Authorization'] = 'Bearer'
719
+ end
629
720
 
630
721
  api_instance = BudgeaClient::AdministrationApi.new
631
722
 
@@ -654,7 +745,7 @@ Name | Type | Description | Notes
654
745
 
655
746
  ### Authorization
656
747
 
657
- No authorization required
748
+ [api_key](../README.md#api_key)
658
749
 
659
750
  ### HTTP request headers
660
751
 
@@ -674,6 +765,13 @@ Get webhooks
674
765
  ```ruby
675
766
  # load the gem
676
767
  require 'budgea_client'
768
+ # setup authorization
769
+ BudgeaClient.configure do |config|
770
+ # Configure API key authorization: api_key
771
+ config.api_key['Authorization'] = 'YOUR API KEY'
772
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
773
+ #config.api_key_prefix['Authorization'] = 'Bearer'
774
+ end
677
775
 
678
776
  api_instance = BudgeaClient::AdministrationApi.new
679
777
 
@@ -702,7 +800,7 @@ Name | Type | Description | Notes
702
800
 
703
801
  ### Authorization
704
802
 
705
- No authorization required
803
+ [api_key](../README.md#api_key)
706
804
 
707
805
  ### HTTP request headers
708
806
 
@@ -722,6 +820,13 @@ Updates the deleted field with the date of the deletion<br><br>
722
820
  ```ruby
723
821
  # load the gem
724
822
  require 'budgea_client'
823
+ # setup authorization
824
+ BudgeaClient.configure do |config|
825
+ # Configure API key authorization: api_key
826
+ config.api_key['Authorization'] = 'YOUR API KEY'
827
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
828
+ #config.api_key_prefix['Authorization'] = 'Bearer'
829
+ end
725
830
 
726
831
  api_instance = BudgeaClient::AdministrationApi.new
727
832
 
@@ -753,7 +858,7 @@ Name | Type | Description | Notes
753
858
 
754
859
  ### Authorization
755
860
 
756
- No authorization required
861
+ [api_key](../README.md#api_key)
757
862
 
758
863
  ### HTTP request headers
759
864
 
@@ -773,6 +878,13 @@ Updates a webhook
773
878
  ```ruby
774
879
  # load the gem
775
880
  require 'budgea_client'
881
+ # setup authorization
882
+ BudgeaClient.configure do |config|
883
+ # Configure API key authorization: api_key
884
+ config.api_key['Authorization'] = 'YOUR API KEY'
885
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
886
+ #config.api_key_prefix['Authorization'] = 'Bearer'
887
+ end
776
888
 
777
889
  api_instance = BudgeaClient::AdministrationApi.new
778
890
 
@@ -814,7 +926,7 @@ Name | Type | Description | Notes
814
926
 
815
927
  ### Authorization
816
928
 
817
- No authorization required
929
+ [api_key](../README.md#api_key)
818
930
 
819
931
  ### HTTP request headers
820
932
 
@@ -834,6 +946,13 @@ Updates a webhook
834
946
  ```ruby
835
947
  # load the gem
836
948
  require 'budgea_client'
949
+ # setup authorization
950
+ BudgeaClient.configure do |config|
951
+ # Configure API key authorization: api_key
952
+ config.api_key['Authorization'] = 'YOUR API KEY'
953
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
954
+ #config.api_key_prefix['Authorization'] = 'Bearer'
955
+ end
837
956
 
838
957
  api_instance = BudgeaClient::AdministrationApi.new
839
958
 
@@ -875,7 +994,7 @@ Name | Type | Description | Notes
875
994
 
876
995
  ### Authorization
877
996
 
878
- No authorization required
997
+ [api_key](../README.md#api_key)
879
998
 
880
999
  ### HTTP request headers
881
1000
 
@@ -895,6 +1014,13 @@ Adds a new webhook
895
1014
  ```ruby
896
1015
  # load the gem
897
1016
  require 'budgea_client'
1017
+ # setup authorization
1018
+ BudgeaClient.configure do |config|
1019
+ # Configure API key authorization: api_key
1020
+ config.api_key['Authorization'] = 'YOUR API KEY'
1021
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1022
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1023
+ end
898
1024
 
899
1025
  api_instance = BudgeaClient::AdministrationApi.new
900
1026
 
@@ -933,7 +1059,7 @@ Name | Type | Description | Notes
933
1059
 
934
1060
  ### Authorization
935
1061
 
936
- No authorization required
1062
+ [api_key](../README.md#api_key)
937
1063
 
938
1064
  ### HTTP request headers
939
1065