mx-platform-ruby 0.24.0 → 0.25.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/SpendingPlanApi.md +4 -4
- data/lib/mx-platform-ruby/api/spending_plan_api.rb +4 -4
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/api/spending_plan_api_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41a1b0674a78b5de4ad865ce9d46a928aa0d501fb06729443ee234f6c24d042d
|
4
|
+
data.tar.gz: 7a7457a4e14f828e4d31adc5cc8965404006659ae9001381381b190a15353740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06be76394f39cb4d79fd81cc69e151aec2f7fecf4341214213a69f3891a07a95a246bbc2b985f4942fbfaea17a369a2a6904c5adac5b71899ef5cac077942b46
|
7
|
+
data.tar.gz: db420e0312393e15a82e389619b5db0739d5714e34af369c43833cbebc6c44b2e3f4aac3dd5df1e5ac58e825069c8ad0eaa339881947d958cb9c4e2c2c023d2f
|
data/Gemfile.lock
CHANGED
data/docs/SpendingPlanApi.md
CHANGED
@@ -113,7 +113,7 @@ end
|
|
113
113
|
api_instance = MxPlatformRuby::SpendingPlanApi.new
|
114
114
|
spending_plan_guid = 'SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262' # String | The unique ID for the `spending_plan`.
|
115
115
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
116
|
-
spending_plan_iteration_item_create_request_body = MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody.new({planned_amount: 110}) # SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required
|
116
|
+
spending_plan_iteration_item_create_request_body = MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody.new({planned_amount: 110}) # SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required parameter (planned_amount)
|
117
117
|
|
118
118
|
begin
|
119
119
|
# Create spending plan iteration item
|
@@ -148,7 +148,7 @@ end
|
|
148
148
|
| ---- | ---- | ----------- | ----- |
|
149
149
|
| **spending_plan_guid** | **String** | The unique ID for the `spending_plan`. | |
|
150
150
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
151
|
-
| **spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md) | Iteration item to be created with required
|
151
|
+
| **spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md) | Iteration item to be created with required parameter (planned_amount) | |
|
152
152
|
|
153
153
|
### Return type
|
154
154
|
|
@@ -1033,7 +1033,7 @@ api_instance = MxPlatformRuby::SpendingPlanApi.new
|
|
1033
1033
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
1034
1034
|
spending_plan_guid = 'SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262' # String | The unique ID for the `spending_plan`.
|
1035
1035
|
iteration_item_guid = 'SII-a4dc1549-da28-1245-9c9c-53eee4cdfbe3' # String | The unique ID for the `iteration_item`.
|
1036
|
-
spending_plan_iteration_item_create_request_body = MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody.new({planned_amount: 110}) # SpendingPlanIterationItemCreateRequestBody | Iteration item
|
1036
|
+
spending_plan_iteration_item_create_request_body = MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody.new({planned_amount: 110}) # SpendingPlanIterationItemCreateRequestBody | Iteration item to be updated with required parameter (planned_amount)
|
1037
1037
|
|
1038
1038
|
begin
|
1039
1039
|
# Update a spending plan iteration item
|
@@ -1069,7 +1069,7 @@ end
|
|
1069
1069
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
1070
1070
|
| **spending_plan_guid** | **String** | The unique ID for the `spending_plan`. | |
|
1071
1071
|
| **iteration_item_guid** | **String** | The unique ID for the `iteration_item`. | |
|
1072
|
-
| **spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md) | Iteration item
|
1072
|
+
| **spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md) | Iteration item to be updated with required parameter (planned_amount) | |
|
1073
1073
|
|
1074
1074
|
### Return type
|
1075
1075
|
|
@@ -86,7 +86,7 @@ module MxPlatformRuby
|
|
86
86
|
# This endpoint creates a new `spending_plan_iteration_item`.
|
87
87
|
# @param spending_plan_guid [String] The unique ID for the `spending_plan`.
|
88
88
|
# @param user_guid [String] The unique id for a `user`.
|
89
|
-
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be created with required
|
89
|
+
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be created with required parameter (planned_amount)
|
90
90
|
# @param [Hash] opts the optional parameters
|
91
91
|
# @return [SpendingPlanIterationItemResponse]
|
92
92
|
def create_spending_plan_iteration_item(spending_plan_guid, user_guid, spending_plan_iteration_item_create_request_body, opts = {})
|
@@ -98,7 +98,7 @@ module MxPlatformRuby
|
|
98
98
|
# This endpoint creates a new `spending_plan_iteration_item`.
|
99
99
|
# @param spending_plan_guid [String] The unique ID for the `spending_plan`.
|
100
100
|
# @param user_guid [String] The unique id for a `user`.
|
101
|
-
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be created with required
|
101
|
+
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be created with required parameter (planned_amount)
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
103
|
# @return [Array<(SpendingPlanIterationItemResponse, Integer, Hash)>] SpendingPlanIterationItemResponse data, response status code and response headers
|
104
104
|
def create_spending_plan_iteration_item_with_http_info(spending_plan_guid, user_guid, spending_plan_iteration_item_create_request_body, opts = {})
|
@@ -992,7 +992,7 @@ module MxPlatformRuby
|
|
992
992
|
# @param user_guid [String] The unique id for a `user`.
|
993
993
|
# @param spending_plan_guid [String] The unique ID for the `spending_plan`.
|
994
994
|
# @param iteration_item_guid [String] The unique ID for the `iteration_item`.
|
995
|
-
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item
|
995
|
+
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be updated with required parameter (planned_amount)
|
996
996
|
# @param [Hash] opts the optional parameters
|
997
997
|
# @return [SpendingPlanIterationItemResponse]
|
998
998
|
def update_spending_plan_iteration_item(user_guid, spending_plan_guid, iteration_item_guid, spending_plan_iteration_item_create_request_body, opts = {})
|
@@ -1005,7 +1005,7 @@ module MxPlatformRuby
|
|
1005
1005
|
# @param user_guid [String] The unique id for a `user`.
|
1006
1006
|
# @param spending_plan_guid [String] The unique ID for the `spending_plan`.
|
1007
1007
|
# @param iteration_item_guid [String] The unique ID for the `iteration_item`.
|
1008
|
-
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item
|
1008
|
+
# @param spending_plan_iteration_item_create_request_body [SpendingPlanIterationItemCreateRequestBody] Iteration item to be updated with required parameter (planned_amount)
|
1009
1009
|
# @param [Hash] opts the optional parameters
|
1010
1010
|
# @return [Array<(SpendingPlanIterationItemResponse, Integer, Hash)>] SpendingPlanIterationItemResponse data, response status code and response headers
|
1011
1011
|
def update_spending_plan_iteration_item_with_http_info(user_guid, spending_plan_guid, iteration_item_guid, spending_plan_iteration_item_create_request_body, opts = {})
|
data/openapi/config.yml
CHANGED
@@ -49,7 +49,7 @@ describe 'SpendingPlanApi' do
|
|
49
49
|
# This endpoint creates a new `spending_plan_iteration_item`.
|
50
50
|
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
51
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
|
52
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameter (planned_amount)
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @return [SpendingPlanIterationItemResponse]
|
55
55
|
describe 'create_spending_plan_iteration_item test' do
|
@@ -227,7 +227,7 @@ describe 'SpendingPlanApi' do
|
|
227
227
|
# @param user_guid The unique id for a `user`.
|
228
228
|
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
229
229
|
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
230
|
-
# @param spending_plan_iteration_item_create_request_body Iteration item
|
230
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item to be updated with required parameter (planned_amount)
|
231
231
|
# @param [Hash] opts the optional parameters
|
232
232
|
# @return [SpendingPlanIterationItemResponse]
|
233
233
|
describe 'update_spending_plan_iteration_item test' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|