mx-platform-ruby 0.28.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/docs/AccountResponse.md +2 -2
- data/docs/InsightResponse.md +56 -0
- data/docs/InsightResponseBody.md +18 -0
- data/docs/InsightUpdateRequest.md +20 -0
- data/docs/InsightsApi.md +706 -0
- data/docs/InsightsResponseBody.md +20 -0
- data/docs/MxPlatformApi.md +1 -1
- data/docs/ScheduledPaymentResponse.md +42 -0
- data/docs/ScheduledPaymentsResponseBody.md +20 -0
- data/docs/WidgetRequest.md +1 -1
- data/lib/mx-platform-ruby/api/insights_api.rb +690 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response.rb +11 -11
- data/lib/mx-platform-ruby/models/insight_response.rb +404 -0
- data/lib/mx-platform-ruby/models/insight_response_body.rb +216 -0
- data/lib/mx-platform-ruby/models/insight_update_request.rb +223 -0
- data/lib/mx-platform-ruby/models/insights_response_body.rb +225 -0
- data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +322 -0
- data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +225 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +7 -0
- data/openapi/config.yml +1 -1
- data/spec/api/insights_api_spec.rb +166 -0
- data/spec/api/mx_platform_api_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +3 -3
- data/spec/models/insight_response_body_spec.rb +34 -0
- data/spec/models/insight_response_spec.rb +148 -0
- data/spec/models/insight_update_request_spec.rb +40 -0
- data/spec/models/insights_response_body_spec.rb +40 -0
- data/spec/models/scheduled_payment_response_spec.rb +106 -0
- data/spec/models/scheduled_payments_response_body_spec.rb +40 -0
- metadata +30 -2
@@ -0,0 +1,166 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MxPlatformRuby::InsightsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'InsightsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MxPlatformRuby::InsightsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of InsightsApi' do
|
30
|
+
it 'should create an instance of InsightsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MxPlatformRuby::InsightsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list_accounts_insight
|
36
|
+
# List all accounts associated with an insight.
|
37
|
+
# Use this endpoint to list all the accounts associated with the insight.
|
38
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
39
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Integer] :page Specify current page.
|
42
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
43
|
+
# @return [AccountsResponseBody]
|
44
|
+
describe 'list_accounts_insight test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for list_categories_insight
|
51
|
+
# List all categories associated with an insight.
|
52
|
+
# Use this endpoint to list all the categories associated with the insight.
|
53
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
54
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @option opts [Integer] :page Specify current page.
|
57
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
58
|
+
# @return [CategoriesResponseBody]
|
59
|
+
describe 'list_categories_insight test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for list_insights_by_account
|
66
|
+
# List insights by account
|
67
|
+
# Use this endpoint to list all insights associated with a specified account GUID.
|
68
|
+
# @param account_guid The unique id for the `account`.
|
69
|
+
# @param user_guid The unique id for the `user`.
|
70
|
+
# @param [Hash] opts the optional parameters
|
71
|
+
# @option opts [Integer] :page Specify current page.
|
72
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
73
|
+
# @return [InsightsResponseBody]
|
74
|
+
describe 'list_insights_by_account test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# unit tests for list_insights_user
|
81
|
+
# List all insights for a user.
|
82
|
+
# Use this endpoint to list all the insights associated with the user.
|
83
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
84
|
+
# @param [Hash] opts the optional parameters
|
85
|
+
# @option opts [Integer] :page Specify current page.
|
86
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
87
|
+
# @return [InsightsResponseBody]
|
88
|
+
describe 'list_insights_user test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for list_merchants_insight
|
95
|
+
# List all merchants associated with an insight.
|
96
|
+
# Use this endpoint to list all the merchants associated with the insight.
|
97
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
98
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @option opts [Integer] :page Specify current page.
|
101
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
102
|
+
# @return [MerchantsResponseBody]
|
103
|
+
describe 'list_merchants_insight test' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# unit tests for list_scheduled_payments_insight
|
110
|
+
# List all scheduled payments associated with an insight
|
111
|
+
# Use this endpoint to list all the scheduled payments associated with the insight.
|
112
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
113
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [Integer] :page Specify current page.
|
116
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
117
|
+
# @return [ScheduledPaymentsResponseBody]
|
118
|
+
describe 'list_scheduled_payments_insight test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# unit tests for list_transactions_insight
|
125
|
+
# List all transactions associated with an insight.
|
126
|
+
# Use this endpoint to list all the transactions associated with the insight.
|
127
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
128
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
129
|
+
# @param [Hash] opts the optional parameters
|
130
|
+
# @option opts [Integer] :page Specify current page.
|
131
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
132
|
+
# @return [TransactionsResponseBody]
|
133
|
+
describe 'list_transactions_insight test' do
|
134
|
+
it 'should work' do
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# unit tests for read_insights_user
|
140
|
+
# Read a specific insight.
|
141
|
+
# Use this endpoint to read the attributes of a specific insight according to its unique GUID.
|
142
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
143
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [InsightResponseBody]
|
146
|
+
describe 'read_insights_user test' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# unit tests for update_insight
|
153
|
+
# Update insight
|
154
|
+
# Use this endpoint to update the attributes of a particular insight according to its unique GUID.
|
155
|
+
# @param user_guid The unique identifier for the user. Defined by MX.
|
156
|
+
# @param insight_guid The unique identifier for the insight. Defined by MX.
|
157
|
+
# @param insight_update_request The insight to be updated (None of these parameters are required, but the user object cannot be empty.)
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @return [InsightResponse]
|
160
|
+
describe 'update_insight test' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
end
|
@@ -115,7 +115,7 @@ describe 'MxPlatformApi' do
|
|
115
115
|
|
116
116
|
# unit tests for create_manual_account
|
117
117
|
# Create manual account
|
118
|
-
# This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed
|
118
|
+
# This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed.
|
119
119
|
# @param user_guid The unique id for a `user`.
|
120
120
|
# @param account_create_request_body Manual account object to be created.
|
121
121
|
# @param [Hash] opts the optional parameters
|
@@ -151,19 +151,19 @@ describe MxPlatformRuby::AccountResponse do
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
-
describe 'test attribute "
|
154
|
+
describe 'test attribute "institution_code"' do
|
155
155
|
it 'should work' do
|
156
156
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
|
-
describe 'test attribute "
|
160
|
+
describe 'test attribute "insured_name"' do
|
161
161
|
it 'should work' do
|
162
162
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
-
describe 'test attribute "
|
166
|
+
describe 'test attribute "interest_rate"' do
|
167
167
|
it 'should work' do
|
168
168
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
169
169
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::InsightResponseBody
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::InsightResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::InsightResponseBody.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InsightResponseBody' do
|
24
|
+
it 'should create an instance of InsightResponseBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::InsightResponseBody)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "insight"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,148 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::InsightResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::InsightResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::InsightResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InsightResponse' do
|
24
|
+
it 'should create an instance of InsightResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::InsightResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "active_at"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "client_guid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "created_at"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "cta_clicked_at"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "description"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "guid"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "has_associated_accounts"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "has_associated_merchants"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "has_associated_scheduled_payments"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "has_associated_transactions"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "has_been_displayed"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "is_dismissed"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "micro_call_to_action"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "micro_description"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "micro_title"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "template"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "title"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "updated_at"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "user_guid"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "user_id"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::InsightUpdateRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::InsightUpdateRequest do
|
21
|
+
let(:instance) { MxPlatformRuby::InsightUpdateRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InsightUpdateRequest' do
|
24
|
+
it 'should create an instance of InsightUpdateRequest' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::InsightUpdateRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "has_been_displayed"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "is_dismissed"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::InsightsResponseBody
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::InsightsResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::InsightsResponseBody.new }
|
22
|
+
|
23
|
+
describe 'test an instance of InsightsResponseBody' do
|
24
|
+
it 'should create an instance of InsightsResponseBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::InsightsResponseBody)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "insights"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "pagination"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::ScheduledPaymentResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::ScheduledPaymentResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::ScheduledPaymentResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ScheduledPaymentResponse' do
|
24
|
+
it 'should create an instance of ScheduledPaymentResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::ScheduledPaymentResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "amount"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "created_at"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "description"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "guid"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "is_completed"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "is_recurring"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "merchant_guid"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "occurs_on"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "recurrence_day"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "recurrence_type"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "transaction_type"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "updated_at"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "user_guid"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::ScheduledPaymentsResponseBody
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::ScheduledPaymentsResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::ScheduledPaymentsResponseBody.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ScheduledPaymentsResponseBody' do
|
24
|
+
it 'should create an instance of ScheduledPaymentsResponseBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::ScheduledPaymentsResponseBody)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "pagination"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "scheduled_payments"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|