budgea_client 3.0.1 → 4.0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/budgea_openapi.json +6 -4
- data/docs/Connector.md +1 -0
- data/lib/budgea_client/models/connector.rb +15 -4
- data/lib/budgea_client/version.rb +1 -1
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/spec/api/administration_api_spec.rb +225 -23
- data/spec/api/authentication_api_spec.rb +81 -11
- data/spec/api/banks_api_spec.rb +379 -236
- data/spec/api/connections_api_spec.rb +76 -39
- data/spec/api/documents_api_spec.rb +124 -114
- data/spec/api/ocr_api_spec.rb +13 -3
- data/spec/api/oidc_api_spec.rb +14 -4
- data/spec/api/pfm_api_spec.rb +61 -51
- data/spec/api/providers_api_spec.rb +260 -238
- data/spec/api/recipients_api_spec.rb +23 -9
- data/spec/api/terms_api_spec.rb +17 -8
- data/spec/api/transfers_api_spec.rb +88 -57
- data/spec/api/users_management_api_spec.rb +25 -15
- data/spec/api/wealth_api_spec.rb +150 -24
- data/spec/api_client_spec.rb +45 -35
- data/spec/configuration_spec.rb +19 -9
- data/spec/models/access_spec.rb +16 -7
- data/spec/models/account_log_spec.rb +21 -12
- data/spec/models/account_spec.rb +59 -20
- data/spec/models/account_type_spec.rb +19 -10
- data/spec/models/alert_spec.rb +19 -10
- data/spec/models/category_spec.rb +21 -12
- data/spec/models/client_spec.rb +25 -28
- data/spec/models/connection_log_spec.rb +38 -17
- data/spec/models/connection_spec.rb +33 -12
- data/spec/models/connector_logo_spec.rb +16 -7
- data/spec/models/connector_spec.rb +18 -0
- data/spec/models/currency_spec.rb +38 -5
- data/spec/models/device_spec.rb +18 -9
- data/spec/models/document_spec.rb +37 -34
- data/spec/models/document_type_spec.rb +14 -5
- data/spec/models/field_spec.rb +32 -11
- data/spec/models/field_value_spec.rb +13 -4
- data/spec/models/file_spec.rb +15 -6
- data/spec/models/group_spec.rb +19 -10
- data/spec/models/hash_table_spec.rb +15 -6
- data/spec/models/inline_response_200_10_spec.rb +19 -4
- data/spec/models/inline_response_200_11_spec.rb +19 -4
- data/spec/models/inline_response_200_12_spec.rb +19 -4
- data/spec/models/inline_response_200_13_spec.rb +19 -4
- data/spec/models/inline_response_200_14_spec.rb +19 -4
- data/spec/models/inline_response_200_15_spec.rb +19 -4
- data/spec/models/inline_response_200_16_spec.rb +19 -4
- data/spec/models/inline_response_200_17_spec.rb +19 -4
- data/spec/models/inline_response_200_18_spec.rb +19 -4
- data/spec/models/inline_response_200_19_spec.rb +13 -4
- data/spec/models/inline_response_200_1_spec.rb +13 -4
- data/spec/models/inline_response_200_20_spec.rb +19 -4
- data/spec/models/inline_response_200_21_spec.rb +19 -4
- data/spec/models/inline_response_200_22_spec.rb +19 -4
- data/spec/models/inline_response_200_23_spec.rb +19 -4
- data/spec/models/inline_response_200_24_spec.rb +19 -4
- data/spec/models/inline_response_200_25_spec.rb +19 -4
- data/spec/models/inline_response_200_26_spec.rb +19 -4
- data/spec/models/inline_response_200_27_spec.rb +19 -4
- data/spec/models/inline_response_200_28_spec.rb +19 -4
- data/spec/models/inline_response_200_29_spec.rb +19 -4
- data/spec/models/inline_response_200_2_spec.rb +14 -5
- data/spec/models/inline_response_200_30_spec.rb +19 -4
- data/spec/models/inline_response_200_31_spec.rb +19 -4
- data/spec/models/inline_response_200_32_spec.rb +19 -4
- data/spec/models/inline_response_200_33_spec.rb +19 -4
- data/spec/models/inline_response_200_34_spec.rb +7 -1
- data/spec/models/inline_response_200_35_spec.rb +7 -1
- data/spec/models/inline_response_200_36_spec.rb +7 -1
- data/spec/models/inline_response_200_37_spec.rb +7 -1
- data/spec/models/inline_response_200_38_spec.rb +7 -1
- data/spec/models/inline_response_200_3_spec.rb +15 -12
- data/spec/models/inline_response_200_4_spec.rb +14 -17
- data/spec/models/inline_response_200_5_spec.rb +33 -6
- data/spec/models/inline_response_200_6_spec.rb +15 -12
- data/spec/models/inline_response_200_7_spec.rb +25 -4
- data/spec/models/inline_response_200_8_spec.rb +19 -4
- data/spec/models/inline_response_200_9_spec.rb +19 -4
- data/spec/models/inline_response_200_spec.rb +18 -3
- data/spec/models/investment_spec.rb +36 -27
- data/spec/models/investment_value_spec.rb +17 -8
- data/spec/models/invite_spec.rb +17 -8
- data/spec/models/locked_user_spec.rb +14 -5
- data/spec/models/oidc_whitelist_spec.rb +13 -4
- data/spec/models/pocket_spec.rb +21 -12
- data/spec/models/profile_spec.rb +23 -14
- data/spec/models/project_spec.rb +20 -11
- data/spec/models/project_type_spec.rb +14 -5
- data/spec/models/recipient_log_spec.rb +6 -0
- data/spec/models/recipient_spec.rb +44 -17
- data/spec/models/security_spec.rb +16 -7
- data/spec/models/subscription_spec.rb +28 -13
- data/spec/models/terms_of_service_spec.rb +16 -7
- data/spec/models/transaction_information_spec.rb +15 -6
- data/spec/models/transaction_spec.rb +71 -32
- data/spec/models/transactions_cluster_spec.rb +20 -11
- data/spec/models/transfer_log_spec.rb +6 -0
- data/spec/models/transfer_spec.rb +33 -18
- data/spec/models/user_alert_spec.rb +25 -16
- data/spec/models/user_spec.rb +18 -9
- data/spec/models/webhook_spec.rb +31 -10
- data/spec/spec_helper.rb +62 -2
- metadata +3 -14
- data/docs/Bank.md +0 -20
- data/docs/BankCategory.md +0 -9
- data/docs/ConnectionContact.md +0 -17
- data/lib/budgea_client/models/bank.rb +0 -335
- data/lib/budgea_client/models/bank_category.rb +0 -206
- data/lib/budgea_client/models/connection_contact.rb +0 -274
- data/spec/models/bank_category_spec.rb +0 -38
- data/spec/models/bank_spec.rb +0 -92
- data/spec/models/connection_contact_spec.rb +0 -86
data/spec/configuration_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
|
|
@@ -7,25 +17,25 @@ describe BudgeaClient::Configuration do
|
|
|
7
17
|
|
|
8
18
|
before(:each) do
|
|
9
19
|
# uncomment below to setup host and base_path
|
|
10
|
-
#require 'URI'
|
|
11
|
-
#uri = URI.parse("https://demo.biapi.pro/2.0/")
|
|
12
|
-
#BudgeaClient.configure do |c|
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#end
|
|
20
|
+
# require 'URI'
|
|
21
|
+
# uri = URI.parse("https://demo.biapi.pro/2.0/")
|
|
22
|
+
# BudgeaClient.configure do |c|
|
|
23
|
+
# c.host = uri.host
|
|
24
|
+
# c.base_path = uri.path
|
|
25
|
+
# end
|
|
16
26
|
end
|
|
17
27
|
|
|
18
28
|
describe '#base_url' do
|
|
19
29
|
it 'should have the default value' do
|
|
20
30
|
# uncomment below to test default value of the base path
|
|
21
|
-
#expect(config.base_url).to eq("https://demo.biapi.pro/2.0/")
|
|
31
|
+
# expect(config.base_url).to eq("https://demo.biapi.pro/2.0/")
|
|
22
32
|
end
|
|
23
33
|
|
|
24
34
|
it 'should remove trailing slashes' do
|
|
25
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
26
36
|
config.base_path = base_path
|
|
27
37
|
# uncomment below to test trailing slashes
|
|
28
|
-
#expect(config.base_url).to eq("https://demo.biapi.pro/2.0/")
|
|
38
|
+
# expect(config.base_url).to eq("https://demo.biapi.pro/2.0/")
|
|
29
39
|
end
|
|
30
40
|
end
|
|
31
41
|
end
|
data/spec/models/access_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,33 +34,32 @@ describe 'Access' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "id_user"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "id_profile"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "id_role"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "email"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
end
|
|
56
|
-
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,51 +34,50 @@ describe 'AccountLog' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id_account"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "id_connector"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "balance"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "coming"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "timestamp"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "error"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "error_message"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
74
|
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "id_connection_log"' do
|
|
68
78
|
it 'should work' do
|
|
69
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
80
|
end
|
|
71
81
|
end
|
|
72
82
|
|
|
73
83
|
end
|
|
74
|
-
|
data/spec/models/account_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,111 +34,140 @@ describe 'Account' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "id_connection"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "id_user"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "id_parent"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "number"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "webid"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
68
|
end
|
|
53
69
|
end
|
|
54
70
|
|
|
55
71
|
describe 'test attribute "original_name"' do
|
|
56
72
|
it 'should work' do
|
|
57
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
74
|
end
|
|
59
75
|
end
|
|
60
76
|
|
|
61
77
|
describe 'test attribute "balance"' do
|
|
62
78
|
it 'should work' do
|
|
63
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
80
|
end
|
|
65
81
|
end
|
|
66
82
|
|
|
67
83
|
describe 'test attribute "coming"' do
|
|
68
84
|
it 'should work' do
|
|
69
|
-
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
86
|
end
|
|
71
87
|
end
|
|
72
88
|
|
|
73
89
|
describe 'test attribute "display"' do
|
|
74
90
|
it 'should work' do
|
|
75
|
-
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
76
92
|
end
|
|
77
93
|
end
|
|
78
94
|
|
|
79
95
|
describe 'test attribute "last_update"' do
|
|
80
96
|
it 'should work' do
|
|
81
|
-
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
98
|
end
|
|
83
99
|
end
|
|
84
100
|
|
|
85
101
|
describe 'test attribute "deleted"' do
|
|
86
102
|
it 'should work' do
|
|
87
|
-
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
104
|
end
|
|
89
105
|
end
|
|
90
106
|
|
|
91
107
|
describe 'test attribute "disabled"' do
|
|
92
108
|
it 'should work' do
|
|
93
|
-
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
110
|
end
|
|
95
111
|
end
|
|
96
112
|
|
|
97
113
|
describe 'test attribute "iban"' do
|
|
98
114
|
it 'should work' do
|
|
99
|
-
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "bic"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
122
|
end
|
|
101
123
|
end
|
|
102
124
|
|
|
103
125
|
describe 'test attribute "currency"' do
|
|
104
126
|
it 'should work' do
|
|
105
|
-
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
128
|
end
|
|
107
129
|
end
|
|
108
130
|
|
|
109
131
|
describe 'test attribute "id_type"' do
|
|
110
132
|
it 'should work' do
|
|
111
|
-
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
112
134
|
end
|
|
113
135
|
end
|
|
114
136
|
|
|
115
137
|
describe 'test attribute "bookmarked"' do
|
|
116
138
|
it 'should work' do
|
|
117
|
-
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
118
140
|
end
|
|
119
141
|
end
|
|
120
142
|
|
|
121
143
|
describe 'test attribute "name"' do
|
|
122
144
|
it 'should work' do
|
|
123
|
-
|
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
describe 'test attribute "transactions"' do
|
|
150
|
+
it 'should work' do
|
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
124
152
|
end
|
|
125
153
|
end
|
|
126
154
|
|
|
127
155
|
describe 'test attribute "error"' do
|
|
128
156
|
it 'should work' do
|
|
129
|
-
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
130
158
|
end
|
|
131
159
|
end
|
|
132
160
|
|
|
133
|
-
|
|
161
|
+
describe 'test attribute "usage"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "ownership"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
134
172
|
|
|
173
|
+
end
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,51 +34,50 @@ describe 'AccountType' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "name"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "is_invest"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "weboob_type_id"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "display_name_p"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "display_name"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "color"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
74
|
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
describe 'test attribute "id_parent"' do
|
|
68
78
|
it 'should work' do
|
|
69
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
80
|
end
|
|
71
81
|
end
|
|
72
82
|
|
|
73
83
|
end
|
|
74
|
-
|
data/spec/models/alert_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,51 +34,50 @@ describe 'Alert' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "id_user"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "timestamp"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "type"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "id_transaction"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "id_account"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "value"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
74
|
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
describe 'test attribute "id_investment"' do
|
|
68
78
|
it 'should work' do
|
|
69
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
80
|
end
|
|
71
81
|
end
|
|
72
82
|
|
|
73
83
|
end
|
|
74
|
-
|