mx-platform-ruby 0.3.2 → 0.4.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/README.md +1 -1
- data/docs/ChallengeResponse.md +2 -2
- data/docs/{ChallengeResponseImageOptions.md → ImageOptionResponse.md} +2 -2
- data/docs/{ChallengeResponseOptions.md → OptionResponse.md} +2 -2
- data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
- data/lib/mx-platform-ruby/models/{challenge_response_image_options.rb → image_option_response.rb} +3 -3
- data/lib/mx-platform-ruby/models/{challenge_response_options.rb → option_response.rb} +3 -3
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +2 -2
- data/openapi/config.yml +1 -1
- data/spec/models/{challenge_response_image_options_spec.rb → image_option_response_spec.rb} +6 -6
- data/spec/models/{challenge_response_options_spec.rb → option_response_spec.rb} +6 -6
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93ebda15ec61179d08425f9fd0b091fabeb0de96a610687ed4db93507758f3b5
|
4
|
+
data.tar.gz: d891babca10e526f2f9a789937187e1b7e5353c943f1f287058bc45c25adf924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457cbcefb47d0f3c3b971bd279e7dc477a8f27658dcaf2d43ff5da3fab1f00e365d9b5816df81e8654aa15ae280bb8ed4c991b9eae1c7d37ef522bfd5a70f630
|
7
|
+
data.tar.gz: ce8b86e9bb2b00c706716b7d6cdf16658a3b58486ebba644719352c97b7f8ceacf1da6f7dcad6694bb2c686ad732a4a28736f50e87b2e3afe6ff4eb2a13e9f49
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -8,7 +8,7 @@ The MX Platform API is a powerful, fully-featured API designed to make aggregati
|
|
8
8
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
10
|
|
11
|
-
- Package version: 0.
|
11
|
+
- Package version: 0.4.0
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
data/docs/ChallengeResponse.md
CHANGED
@@ -7,9 +7,9 @@
|
|
7
7
|
| **field_name** | **String** | | [optional] |
|
8
8
|
| **guid** | **String** | | [optional] |
|
9
9
|
| **image_data** | **String** | | [optional] |
|
10
|
-
| **image_options** | [**Array<
|
10
|
+
| **image_options** | [**Array<ImageOptionResponse>**](ImageOptionResponse.md) | | [optional] |
|
11
11
|
| **label** | **String** | | [optional] |
|
12
|
-
| **options** | [**Array<
|
12
|
+
| **options** | [**Array<OptionResponse>**](OptionResponse.md) | | [optional] |
|
13
13
|
| **type** | **String** | | [optional] |
|
14
14
|
|
15
15
|
## Example
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# MxPlatformRuby::
|
1
|
+
# MxPlatformRuby::ImageOptionResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'mx-platform-ruby'
|
15
15
|
|
16
|
-
instance = MxPlatformRuby::
|
16
|
+
instance = MxPlatformRuby::ImageOptionResponse.new(
|
17
17
|
data_uri: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...,
|
18
18
|
label: IMAGE_1,
|
19
19
|
value: image_data
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# MxPlatformRuby::
|
1
|
+
# MxPlatformRuby::OptionResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'mx-platform-ruby'
|
14
14
|
|
15
|
-
instance = MxPlatformRuby::
|
15
|
+
instance = MxPlatformRuby::OptionResponse.new(
|
16
16
|
label: IMAGE_1,
|
17
17
|
value: image_data
|
18
18
|
)
|
@@ -53,9 +53,9 @@ module MxPlatformRuby
|
|
53
53
|
:'field_name' => :'String',
|
54
54
|
:'guid' => :'String',
|
55
55
|
:'image_data' => :'String',
|
56
|
-
:'image_options' => :'Array<
|
56
|
+
:'image_options' => :'Array<ImageOptionResponse>',
|
57
57
|
:'label' => :'String',
|
58
|
-
:'options' => :'Array<
|
58
|
+
:'options' => :'Array<OptionResponse>',
|
59
59
|
:'type' => :'String'
|
60
60
|
}
|
61
61
|
end
|
data/lib/mx-platform-ruby/models/{challenge_response_image_options.rb → image_option_response.rb}
RENAMED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
17
|
+
class ImageOptionResponse
|
18
18
|
attr_accessor :data_uri
|
19
19
|
|
20
20
|
attr_accessor :label
|
@@ -54,13 +54,13 @@ module MxPlatformRuby
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::ImageOptionResponse` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::ImageOptionResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
17
|
+
class OptionResponse
|
18
18
|
attr_accessor :label
|
19
19
|
|
20
20
|
attr_accessor :value
|
@@ -50,13 +50,13 @@ module MxPlatformRuby
|
|
50
50
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
51
|
def initialize(attributes = {})
|
52
52
|
if (!attributes.is_a?(Hash))
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::OptionResponse` initialize method"
|
54
54
|
end
|
55
55
|
|
56
56
|
# check to see if the attribute exists and convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
58
|
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::OptionResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
60
|
end
|
61
61
|
h[k.to_sym] = v
|
62
62
|
}
|
data/lib/mx-platform-ruby.rb
CHANGED
@@ -34,8 +34,6 @@ require 'mx-platform-ruby/models/category_response_body'
|
|
34
34
|
require 'mx-platform-ruby/models/category_update_request'
|
35
35
|
require 'mx-platform-ruby/models/category_update_request_body'
|
36
36
|
require 'mx-platform-ruby/models/challenge_response'
|
37
|
-
require 'mx-platform-ruby/models/challenge_response_image_options'
|
38
|
-
require 'mx-platform-ruby/models/challenge_response_options'
|
39
37
|
require 'mx-platform-ruby/models/challenges_response_body'
|
40
38
|
require 'mx-platform-ruby/models/connect_widget_request'
|
41
39
|
require 'mx-platform-ruby/models/connect_widget_request_body'
|
@@ -51,6 +49,7 @@ require 'mx-platform-ruby/models/enhance_transactions_response_body'
|
|
51
49
|
require 'mx-platform-ruby/models/holding_response'
|
52
50
|
require 'mx-platform-ruby/models/holding_response_body'
|
53
51
|
require 'mx-platform-ruby/models/holdings_response_body'
|
52
|
+
require 'mx-platform-ruby/models/image_option_response'
|
54
53
|
require 'mx-platform-ruby/models/institution_response'
|
55
54
|
require 'mx-platform-ruby/models/institution_response_body'
|
56
55
|
require 'mx-platform-ruby/models/institutions_response_body'
|
@@ -70,6 +69,7 @@ require 'mx-platform-ruby/models/merchant_response_body'
|
|
70
69
|
require 'mx-platform-ruby/models/merchants_response_body'
|
71
70
|
require 'mx-platform-ruby/models/o_auth_window_response'
|
72
71
|
require 'mx-platform-ruby/models/o_auth_window_response_body'
|
72
|
+
require 'mx-platform-ruby/models/option_response'
|
73
73
|
require 'mx-platform-ruby/models/pagination_response'
|
74
74
|
require 'mx-platform-ruby/models/statement_response'
|
75
75
|
require 'mx-platform-ruby/models/statement_response_body'
|
data/openapi/config.yml
CHANGED
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::ImageOptionResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::ImageOptionResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::ImageOptionResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
23
|
+
describe 'test an instance of ImageOptionResponse' do
|
24
|
+
it 'should create an instance of ImageOptionResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::ImageOptionResponse)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "data_uri"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::OptionResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::OptionResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::OptionResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
23
|
+
describe 'test an instance of OptionResponse' do
|
24
|
+
it 'should create an instance of OptionResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::OptionResponse)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "label"' 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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -79,8 +79,6 @@ files:
|
|
79
79
|
- docs/CategoryUpdateRequest.md
|
80
80
|
- docs/CategoryUpdateRequestBody.md
|
81
81
|
- docs/ChallengeResponse.md
|
82
|
-
- docs/ChallengeResponseImageOptions.md
|
83
|
-
- docs/ChallengeResponseOptions.md
|
84
82
|
- docs/ChallengesResponseBody.md
|
85
83
|
- docs/ConnectWidgetRequest.md
|
86
84
|
- docs/ConnectWidgetRequestBody.md
|
@@ -96,6 +94,7 @@ files:
|
|
96
94
|
- docs/HoldingResponse.md
|
97
95
|
- docs/HoldingResponseBody.md
|
98
96
|
- docs/HoldingsResponseBody.md
|
97
|
+
- docs/ImageOptionResponse.md
|
99
98
|
- docs/InstitutionResponse.md
|
100
99
|
- docs/InstitutionResponseBody.md
|
101
100
|
- docs/InstitutionsResponseBody.md
|
@@ -116,6 +115,7 @@ files:
|
|
116
115
|
- docs/MxPlatformApi.md
|
117
116
|
- docs/OAuthWindowResponse.md
|
118
117
|
- docs/OAuthWindowResponseBody.md
|
118
|
+
- docs/OptionResponse.md
|
119
119
|
- docs/PaginationResponse.md
|
120
120
|
- docs/StatementResponse.md
|
121
121
|
- docs/StatementResponseBody.md
|
@@ -179,8 +179,6 @@ files:
|
|
179
179
|
- lib/mx-platform-ruby/models/category_update_request.rb
|
180
180
|
- lib/mx-platform-ruby/models/category_update_request_body.rb
|
181
181
|
- lib/mx-platform-ruby/models/challenge_response.rb
|
182
|
-
- lib/mx-platform-ruby/models/challenge_response_image_options.rb
|
183
|
-
- lib/mx-platform-ruby/models/challenge_response_options.rb
|
184
182
|
- lib/mx-platform-ruby/models/challenges_response_body.rb
|
185
183
|
- lib/mx-platform-ruby/models/connect_widget_request.rb
|
186
184
|
- lib/mx-platform-ruby/models/connect_widget_request_body.rb
|
@@ -196,6 +194,7 @@ files:
|
|
196
194
|
- lib/mx-platform-ruby/models/holding_response.rb
|
197
195
|
- lib/mx-platform-ruby/models/holding_response_body.rb
|
198
196
|
- lib/mx-platform-ruby/models/holdings_response_body.rb
|
197
|
+
- lib/mx-platform-ruby/models/image_option_response.rb
|
199
198
|
- lib/mx-platform-ruby/models/institution_response.rb
|
200
199
|
- lib/mx-platform-ruby/models/institution_response_body.rb
|
201
200
|
- lib/mx-platform-ruby/models/institutions_response_body.rb
|
@@ -215,6 +214,7 @@ files:
|
|
215
214
|
- lib/mx-platform-ruby/models/merchants_response_body.rb
|
216
215
|
- lib/mx-platform-ruby/models/o_auth_window_response.rb
|
217
216
|
- lib/mx-platform-ruby/models/o_auth_window_response_body.rb
|
217
|
+
- lib/mx-platform-ruby/models/option_response.rb
|
218
218
|
- lib/mx-platform-ruby/models/pagination_response.rb
|
219
219
|
- lib/mx-platform-ruby/models/statement_response.rb
|
220
220
|
- lib/mx-platform-ruby/models/statement_response_body.rb
|
@@ -279,8 +279,6 @@ files:
|
|
279
279
|
- spec/models/category_response_spec.rb
|
280
280
|
- spec/models/category_update_request_body_spec.rb
|
281
281
|
- spec/models/category_update_request_spec.rb
|
282
|
-
- spec/models/challenge_response_image_options_spec.rb
|
283
|
-
- spec/models/challenge_response_options_spec.rb
|
284
282
|
- spec/models/challenge_response_spec.rb
|
285
283
|
- spec/models/challenges_response_body_spec.rb
|
286
284
|
- spec/models/connect_widget_request_body_spec.rb
|
@@ -297,6 +295,7 @@ files:
|
|
297
295
|
- spec/models/holding_response_body_spec.rb
|
298
296
|
- spec/models/holding_response_spec.rb
|
299
297
|
- spec/models/holdings_response_body_spec.rb
|
298
|
+
- spec/models/image_option_response_spec.rb
|
300
299
|
- spec/models/institution_response_body_spec.rb
|
301
300
|
- spec/models/institution_response_spec.rb
|
302
301
|
- spec/models/institutions_response_body_spec.rb
|
@@ -316,6 +315,7 @@ files:
|
|
316
315
|
- spec/models/merchants_response_body_spec.rb
|
317
316
|
- spec/models/o_auth_window_response_body_spec.rb
|
318
317
|
- spec/models/o_auth_window_response_spec.rb
|
318
|
+
- spec/models/option_response_spec.rb
|
319
319
|
- spec/models/pagination_response_spec.rb
|
320
320
|
- spec/models/statement_response_body_spec.rb
|
321
321
|
- spec/models/statement_response_spec.rb
|
@@ -2276,7 +2276,6 @@ test_files:
|
|
2276
2276
|
- spec/models/tag_create_request_spec.rb
|
2277
2277
|
- spec/models/challenges_response_body_spec.rb
|
2278
2278
|
- spec/models/institution_response_spec.rb
|
2279
|
-
- spec/models/challenge_response_image_options_spec.rb
|
2280
2279
|
- spec/models/transactions_response_body_spec.rb
|
2281
2280
|
- spec/models/tagging_response_body_spec.rb
|
2282
2281
|
- spec/models/member_create_request_body_spec.rb
|
@@ -2290,12 +2289,13 @@ test_files:
|
|
2290
2289
|
- spec/models/widget_response_spec.rb
|
2291
2290
|
- spec/models/member_resume_request_spec.rb
|
2292
2291
|
- spec/models/holding_response_body_spec.rb
|
2292
|
+
- spec/models/option_response_spec.rb
|
2293
2293
|
- spec/models/categories_response_body_spec.rb
|
2294
2294
|
- spec/models/user_create_request_spec.rb
|
2295
|
+
- spec/models/image_option_response_spec.rb
|
2295
2296
|
- spec/models/transaction_update_request_spec.rb
|
2296
2297
|
- spec/models/institutions_response_body_spec.rb
|
2297
2298
|
- spec/models/widget_request_spec.rb
|
2298
|
-
- spec/models/challenge_response_options_spec.rb
|
2299
2299
|
- spec/models/transaction_response_spec.rb
|
2300
2300
|
- spec/models/member_create_request_spec.rb
|
2301
2301
|
- spec/models/credential_response_spec.rb
|