mx-platform-ruby 0.23.0 → 0.24.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/docs/MxPlatformApi.md +506 -1585
- data/docs/SpendingPlanApi.md +1086 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +6 -1060
- data/lib/mx-platform-ruby/api/spending_plan_api.rb +1076 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +1 -0
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +0 -204
- data/spec/api/spending_plan_api_spec.rb +239 -0
- metadata +5 -1
data/lib/mx-platform-ruby.rb
CHANGED
data/openapi/config.yml
CHANGED
@@ -139,32 +139,6 @@ describe 'MxPlatformApi' do
|
|
139
139
|
end
|
140
140
|
end
|
141
141
|
|
142
|
-
# unit tests for create_spending_plan
|
143
|
-
# Create spending plan
|
144
|
-
# This endpoint creates a new `spending_plan` for the user.
|
145
|
-
# @param user_guid The unique id for a `user`.
|
146
|
-
# @param [Hash] opts the optional parameters
|
147
|
-
# @return [SpendingPlanResponse]
|
148
|
-
describe 'create_spending_plan test' do
|
149
|
-
it 'should work' do
|
150
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
# unit tests for create_spending_plan_iteration_item
|
155
|
-
# Create spending plan iteration item
|
156
|
-
# This endpoint creates a new `spending_plan_iteration_item`.
|
157
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
158
|
-
# @param user_guid The unique id for a `user`.
|
159
|
-
# @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameters (planned_amount)
|
160
|
-
# @param [Hash] opts the optional parameters
|
161
|
-
# @return [SpendingPlanIterationItemResponse]
|
162
|
-
describe 'create_spending_plan_iteration_item test' do
|
163
|
-
it 'should work' do
|
164
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
142
|
# unit tests for create_tag
|
169
143
|
# Create tag
|
170
144
|
# Use this endpoint to create a new custom tag.
|
@@ -297,47 +271,6 @@ describe 'MxPlatformApi' do
|
|
297
271
|
end
|
298
272
|
end
|
299
273
|
|
300
|
-
# unit tests for delete_spending_plan
|
301
|
-
# Delete spending plan
|
302
|
-
# Use this endpoint to delete a user's `spending_plan`.
|
303
|
-
# @param user_guid The unique ID for a `user`.
|
304
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
305
|
-
# @param [Hash] opts the optional parameters
|
306
|
-
# @return [nil]
|
307
|
-
describe 'delete_spending_plan test' do
|
308
|
-
it 'should work' do
|
309
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
310
|
-
end
|
311
|
-
end
|
312
|
-
|
313
|
-
# unit tests for delete_spending_plan_account
|
314
|
-
# Delete spending plan account
|
315
|
-
# Use this endpoint to delete a `spending_plan_account`.
|
316
|
-
# @param user_guid The unique ID for a `user`.
|
317
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
318
|
-
# @param spending_plan_account_guid The unique ID for the specified account.
|
319
|
-
# @param [Hash] opts the optional parameters
|
320
|
-
# @return [nil]
|
321
|
-
describe 'delete_spending_plan_account test' do
|
322
|
-
it 'should work' do
|
323
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
# unit tests for delete_spending_plan_iteration_item
|
328
|
-
# Delete spending plan iteration item
|
329
|
-
# Use this endpoint to delete a spending plan `iteration_item`.
|
330
|
-
# @param user_guid The unique ID for a `user`.
|
331
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
332
|
-
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
333
|
-
# @param [Hash] opts the optional parameters
|
334
|
-
# @return [nil]
|
335
|
-
describe 'delete_spending_plan_iteration_item test' do
|
336
|
-
it 'should work' do
|
337
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
338
|
-
end
|
339
|
-
end
|
340
|
-
|
341
274
|
# unit tests for delete_tag
|
342
275
|
# Delete tag
|
343
276
|
# Use this endpoint to permanently delete a specific tag based on its unique GUID. If successful, the API will respond with status of `204 No Content`.
|
@@ -805,65 +738,6 @@ describe 'MxPlatformApi' do
|
|
805
738
|
end
|
806
739
|
end
|
807
740
|
|
808
|
-
# unit tests for list_spending_plan_accounts
|
809
|
-
# List spending plan accounts
|
810
|
-
# Use this endpoint to list all the spending plan accounts associated with the spending plan.
|
811
|
-
# @param user_guid The unique id for a `user`.
|
812
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
813
|
-
# @param [Hash] opts the optional parameters
|
814
|
-
# @option opts [Integer] :page Specify current page.
|
815
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
816
|
-
# @return [SpendingPlanAccountsResponse]
|
817
|
-
describe 'list_spending_plan_accounts test' do
|
818
|
-
it 'should work' do
|
819
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
820
|
-
end
|
821
|
-
end
|
822
|
-
|
823
|
-
# unit tests for list_spending_plan_iteration_items
|
824
|
-
# List spending plan iteration items
|
825
|
-
# Use this endpoint to list all the spending plan `iteration_items` associated with the `iteration`.
|
826
|
-
# @param user_guid The unique id for a `user`.
|
827
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
828
|
-
# @param [Hash] opts the optional parameters
|
829
|
-
# @option opts [Integer] :page Specify current page.
|
830
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
831
|
-
# @return [SpendingPlanIterationItemsResponseBody]
|
832
|
-
describe 'list_spending_plan_iteration_items test' do
|
833
|
-
it 'should work' do
|
834
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
|
-
# unit tests for list_spending_plan_iterations
|
839
|
-
# List spending plan iterations
|
840
|
-
# Use this endpoint to list all the spending plan `iterations` associated with the `spending_plan`.
|
841
|
-
# @param user_guid The unique id for a `user`.
|
842
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
843
|
-
# @param [Hash] opts the optional parameters
|
844
|
-
# @option opts [Integer] :page Specify current page.
|
845
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
846
|
-
# @return [SpendingPlanIterationsResponse]
|
847
|
-
describe 'list_spending_plan_iterations test' do
|
848
|
-
it 'should work' do
|
849
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
850
|
-
end
|
851
|
-
end
|
852
|
-
|
853
|
-
# unit tests for list_spending_plans
|
854
|
-
# List spending plans
|
855
|
-
# Use this endpoint to list all the spending plans associated with the user.
|
856
|
-
# @param user_guid The unique id for a `user`.
|
857
|
-
# @param [Hash] opts the optional parameters
|
858
|
-
# @option opts [Integer] :page Specify current page.
|
859
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
860
|
-
# @return [SpendingPlansResponseBody]
|
861
|
-
describe 'list_spending_plans test' do
|
862
|
-
it 'should work' do
|
863
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
864
|
-
end
|
865
|
-
end
|
866
|
-
|
867
741
|
# unit tests for list_statements_by_member
|
868
742
|
# List statements by member
|
869
743
|
# Use this endpoint to get an array of available statements.
|
@@ -1204,69 +1078,6 @@ describe 'MxPlatformApi' do
|
|
1204
1078
|
end
|
1205
1079
|
end
|
1206
1080
|
|
1207
|
-
# unit tests for read_spending_plan_account
|
1208
|
-
# Read spending plan account
|
1209
|
-
# Use this endpoint to read the attributes of a specific spending plan account according to its unique GUID.
|
1210
|
-
# @param user_guid The unique id for a `user`.
|
1211
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1212
|
-
# @param spending_plan_account_guid The unique ID for the specified account.
|
1213
|
-
# @param [Hash] opts the optional parameters
|
1214
|
-
# @option opts [Integer] :page Specify current page.
|
1215
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
1216
|
-
# @return [SpendingPlanAccountResponse]
|
1217
|
-
describe 'read_spending_plan_account test' do
|
1218
|
-
it 'should work' do
|
1219
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
1220
|
-
end
|
1221
|
-
end
|
1222
|
-
|
1223
|
-
# unit tests for read_spending_plan_iteration
|
1224
|
-
# Read a spending plan iteration
|
1225
|
-
# Use this endpoint to read the attributes of a specific spending plan `iteration` according to its `iteration_number`.
|
1226
|
-
# @param user_guid The unique id for a `user`.
|
1227
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1228
|
-
# @param iteration_number The current iteration number for the spending plan `iteration``.
|
1229
|
-
# @param [Hash] opts the optional parameters
|
1230
|
-
# @option opts [Integer] :page Specify current page.
|
1231
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
1232
|
-
# @return [SpendingPlanIterationResponse]
|
1233
|
-
describe 'read_spending_plan_iteration test' do
|
1234
|
-
it 'should work' do
|
1235
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
1236
|
-
end
|
1237
|
-
end
|
1238
|
-
|
1239
|
-
# unit tests for read_spending_plan_iteration_item
|
1240
|
-
# Read a spending plan iteration item
|
1241
|
-
# Use this endpoint to read the attributes of a specific spending plan `iteration_item` according to its unique GUID.
|
1242
|
-
# @param user_guid The unique id for a `user`.
|
1243
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1244
|
-
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
1245
|
-
# @param [Hash] opts the optional parameters
|
1246
|
-
# @option opts [Integer] :page Specify current page.
|
1247
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
1248
|
-
# @return [SpendingPlanIterationItemResponse]
|
1249
|
-
describe 'read_spending_plan_iteration_item test' do
|
1250
|
-
it 'should work' do
|
1251
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
1252
|
-
end
|
1253
|
-
end
|
1254
|
-
|
1255
|
-
# unit tests for read_spending_plan_user
|
1256
|
-
# Read a spending plan for a user
|
1257
|
-
# Use this endpoint to read the attributes of a specific spending plan according to its unique GUID.
|
1258
|
-
# @param user_guid The unique id for a `user`.
|
1259
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1260
|
-
# @param [Hash] opts the optional parameters
|
1261
|
-
# @option opts [Integer] :page Specify current page.
|
1262
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
1263
|
-
# @return [SpendingPlanResponse]
|
1264
|
-
describe 'read_spending_plan_user test' do
|
1265
|
-
it 'should work' do
|
1266
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
1267
|
-
end
|
1268
|
-
end
|
1269
|
-
|
1270
1081
|
# unit tests for read_statement_by_member
|
1271
1082
|
# Read statement by member
|
1272
1083
|
# Use this endpoint to read a JSON representation of the statement.
|
@@ -1518,21 +1329,6 @@ describe 'MxPlatformApi' do
|
|
1518
1329
|
end
|
1519
1330
|
end
|
1520
1331
|
|
1521
|
-
# unit tests for update_spending_plan_iteration_item
|
1522
|
-
# Update a spending plan iteration item
|
1523
|
-
# Use this endpoint to update an existing `spending_plan_iteration_item`.
|
1524
|
-
# @param user_guid The unique id for a `user`.
|
1525
|
-
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1526
|
-
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
1527
|
-
# @param spending_plan_iteration_item_create_request_body Iteration item object to be updated with required parameter (iteration_item_guid)
|
1528
|
-
# @param [Hash] opts the optional parameters
|
1529
|
-
# @return [SpendingPlanIterationItemResponse]
|
1530
|
-
describe 'update_spending_plan_iteration_item test' do
|
1531
|
-
it 'should work' do
|
1532
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
1533
|
-
end
|
1534
|
-
end
|
1535
|
-
|
1536
1332
|
# unit tests for update_tag
|
1537
1333
|
# Update tag
|
1538
1334
|
# Use this endpoint to update the name of a specific tag according to its unique GUID.
|
@@ -0,0 +1,239 @@
|
|
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::SpendingPlanApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SpendingPlanApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MxPlatformRuby::SpendingPlanApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SpendingPlanApi' do
|
30
|
+
it 'should create an instance of SpendingPlanApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MxPlatformRuby::SpendingPlanApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_spending_plan
|
36
|
+
# Create spending plan
|
37
|
+
# This endpoint creates a new `spending_plan` for the user.
|
38
|
+
# @param user_guid The unique id for a `user`.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [SpendingPlanResponse]
|
41
|
+
describe 'create_spending_plan test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for create_spending_plan_iteration_item
|
48
|
+
# Create spending plan iteration item
|
49
|
+
# This endpoint creates a new `spending_plan_iteration_item`.
|
50
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
51
|
+
# @param user_guid The unique id for a `user`.
|
52
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameters (planned_amount)
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [SpendingPlanIterationItemResponse]
|
55
|
+
describe 'create_spending_plan_iteration_item test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for delete_spending_plan
|
62
|
+
# Delete spending plan
|
63
|
+
# Use this endpoint to delete a user's `spending_plan`.
|
64
|
+
# @param user_guid The unique ID for a `user`.
|
65
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [nil]
|
68
|
+
describe 'delete_spending_plan test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# unit tests for delete_spending_plan_account
|
75
|
+
# Delete spending plan account
|
76
|
+
# Use this endpoint to delete a `spending_plan_account`.
|
77
|
+
# @param user_guid The unique ID for a `user`.
|
78
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
79
|
+
# @param spending_plan_account_guid The unique ID for the specified account.
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [nil]
|
82
|
+
describe 'delete_spending_plan_account test' 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
|
+
# unit tests for delete_spending_plan_iteration_item
|
89
|
+
# Delete spending plan iteration item
|
90
|
+
# Use this endpoint to delete a spending plan `iteration_item`.
|
91
|
+
# @param user_guid The unique ID for a `user`.
|
92
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
93
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [nil]
|
96
|
+
describe 'delete_spending_plan_iteration_item test' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# unit tests for list_spending_plan_accounts
|
103
|
+
# List spending plan accounts
|
104
|
+
# Use this endpoint to list all the spending plan accounts associated with the spending plan.
|
105
|
+
# @param user_guid The unique id for a `user`.
|
106
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
107
|
+
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Integer] :page Specify current page.
|
109
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
110
|
+
# @return [SpendingPlanAccountsResponse]
|
111
|
+
describe 'list_spending_plan_accounts test' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# unit tests for list_spending_plan_iteration_items
|
118
|
+
# List spending plan iteration items
|
119
|
+
# Use this endpoint to list all the spending plan `iteration_items` associated with the `iteration`.
|
120
|
+
# @param user_guid The unique id for a `user`.
|
121
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Integer] :page Specify current page.
|
124
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
125
|
+
# @return [SpendingPlanIterationItemsResponseBody]
|
126
|
+
describe 'list_spending_plan_iteration_items test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# unit tests for list_spending_plan_iterations
|
133
|
+
# List spending plan iterations
|
134
|
+
# Use this endpoint to list all the spending plan `iterations` associated with the `spending_plan`.
|
135
|
+
# @param user_guid The unique id for a `user`.
|
136
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [Integer] :page Specify current page.
|
139
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
140
|
+
# @return [SpendingPlanIterationsResponse]
|
141
|
+
describe 'list_spending_plan_iterations test' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for list_spending_plans
|
148
|
+
# List spending plans
|
149
|
+
# Use this endpoint to list all the spending plans associated with the user.
|
150
|
+
# @param user_guid The unique id for a `user`.
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @option opts [Integer] :page Specify current page.
|
153
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
154
|
+
# @return [SpendingPlansResponseBody]
|
155
|
+
describe 'list_spending_plans test' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# unit tests for read_spending_plan_account
|
162
|
+
# Read spending plan account
|
163
|
+
# Use this endpoint to read the attributes of a specific spending plan account according to its unique GUID.
|
164
|
+
# @param user_guid The unique id for a `user`.
|
165
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
166
|
+
# @param spending_plan_account_guid The unique ID for the specified account.
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @option opts [Integer] :page Specify current page.
|
169
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
170
|
+
# @return [SpendingPlanAccountResponse]
|
171
|
+
describe 'read_spending_plan_account test' do
|
172
|
+
it 'should work' do
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# unit tests for read_spending_plan_iteration
|
178
|
+
# Read a spending plan iteration
|
179
|
+
# Use this endpoint to read the attributes of a specific spending plan `iteration` according to its `iteration_number`.
|
180
|
+
# @param user_guid The unique id for a `user`.
|
181
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
182
|
+
# @param iteration_number The current iteration number for the spending plan `iteration``.
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [Integer] :page Specify current page.
|
185
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
186
|
+
# @return [SpendingPlanIterationResponse]
|
187
|
+
describe 'read_spending_plan_iteration test' do
|
188
|
+
it 'should work' do
|
189
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# unit tests for read_spending_plan_iteration_item
|
194
|
+
# Read a spending plan iteration item
|
195
|
+
# Use this endpoint to read the attributes of a specific spending plan `iteration_item` according to its unique GUID.
|
196
|
+
# @param user_guid The unique id for a `user`.
|
197
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
198
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
199
|
+
# @param [Hash] opts the optional parameters
|
200
|
+
# @option opts [Integer] :page Specify current page.
|
201
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
202
|
+
# @return [SpendingPlanIterationItemResponse]
|
203
|
+
describe 'read_spending_plan_iteration_item test' do
|
204
|
+
it 'should work' do
|
205
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
# unit tests for read_spending_plan_user
|
210
|
+
# Read a spending plan for a user
|
211
|
+
# Use this endpoint to read the attributes of a specific spending plan according to its unique GUID.
|
212
|
+
# @param user_guid The unique id for a `user`.
|
213
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
214
|
+
# @param [Hash] opts the optional parameters
|
215
|
+
# @option opts [Integer] :page Specify current page.
|
216
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
217
|
+
# @return [SpendingPlanResponse]
|
218
|
+
describe 'read_spending_plan_user test' do
|
219
|
+
it 'should work' do
|
220
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# unit tests for update_spending_plan_iteration_item
|
225
|
+
# Update a spending plan iteration item
|
226
|
+
# Use this endpoint to update an existing `spending_plan_iteration_item`.
|
227
|
+
# @param user_guid The unique id for a `user`.
|
228
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
229
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
230
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item object to be updated with required parameter (iteration_item_guid)
|
231
|
+
# @param [Hash] opts the optional parameters
|
232
|
+
# @return [SpendingPlanIterationItemResponse]
|
233
|
+
describe 'update_spending_plan_iteration_item test' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mx-platform-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- docs/PaymentProcessorAuthorizationCodeResponseBody.md
|
158
158
|
- docs/SpendingPlanAccountResponse.md
|
159
159
|
- docs/SpendingPlanAccountsResponse.md
|
160
|
+
- docs/SpendingPlanApi.md
|
160
161
|
- docs/SpendingPlanIterationItemCreateRequestBody.md
|
161
162
|
- docs/SpendingPlanIterationItemResponse.md
|
162
163
|
- docs/SpendingPlanIterationItemsResponseBody.md
|
@@ -209,6 +210,7 @@ files:
|
|
209
210
|
- docs/WidgetResponseBody.md
|
210
211
|
- lib/mx-platform-ruby.rb
|
211
212
|
- lib/mx-platform-ruby/api/mx_platform_api.rb
|
213
|
+
- lib/mx-platform-ruby/api/spending_plan_api.rb
|
212
214
|
- lib/mx-platform-ruby/api_client.rb
|
213
215
|
- lib/mx-platform-ruby/api_error.rb
|
214
216
|
- lib/mx-platform-ruby/configuration.rb
|
@@ -348,6 +350,7 @@ files:
|
|
348
350
|
- openapi/templates/README.mustache
|
349
351
|
- openapitools.json
|
350
352
|
- spec/api/mx_platform_api_spec.rb
|
353
|
+
- spec/api/spending_plan_api_spec.rb
|
351
354
|
- spec/api_client_spec.rb
|
352
355
|
- spec/configuration_spec.rb
|
353
356
|
- spec/models/account_create_request_body_spec.rb
|
@@ -505,6 +508,7 @@ signing_key:
|
|
505
508
|
specification_version: 4
|
506
509
|
summary: MX Platform API Ruby Gem
|
507
510
|
test_files:
|
511
|
+
- spec/api/spending_plan_api_spec.rb
|
508
512
|
- spec/api/mx_platform_api_spec.rb
|
509
513
|
- spec/api_client_spec.rb
|
510
514
|
- spec/configuration_spec.rb
|