mx-platform-ruby 1.0.0 → 1.1.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 +1 -1
- data/docs/MemberResponse.md +2 -0
- data/lib/mx-platform-ruby/models/member_response.rb +13 -1
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/models/member_response_spec.rb +6 -0
- 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: c302322c8935ac6da6eb0c16367fa57b6bd57ac4593c53d69476e2caf307c467
|
4
|
+
data.tar.gz: 6edb5e7843f98f36ae6d3df427e139bcdb67bdfaed5e1106e59c8450bfd94f94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8e752915a4bf822fd7ee83c5d6fb328ca3c34ff8bfb3a21e3e6a31b795ad2824ae4d556eb9f448c8e75f66b750b2487c84287bd2c907a8c2831e3b4d7190ea7
|
7
|
+
data.tar.gz: 7172f3a8353547146cc8b5d3bb29b2c6cb61df824da0bb295d4da214ffd86a35ce88869c090dbb7ab054417874638e9d379d65899dcac58d99236f03b2ee4c9f
|
data/Gemfile.lock
CHANGED
data/docs/MemberResponse.md
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
| **name** | **String** | | [optional] |
|
21
21
|
| **oauth_window_uri** | **String** | | [optional] |
|
22
22
|
| **successfully_aggregated_at** | **String** | | [optional] |
|
23
|
+
| **use_cases** | **Array<String>** | | [optional] |
|
23
24
|
| **user_guid** | **String** | | [optional] |
|
24
25
|
| **user_id** | **String** | | [optional] |
|
25
26
|
|
@@ -45,6 +46,7 @@ instance = MxPlatformRuby::MemberResponse.new(
|
|
45
46
|
name: Chase Bank,
|
46
47
|
oauth_window_uri: https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2,
|
47
48
|
successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
|
49
|
+
use_cases: ["PFM","IAV"],
|
48
50
|
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
|
49
51
|
user_id: user123
|
50
52
|
)
|
@@ -47,6 +47,8 @@ module MxPlatformRuby
|
|
47
47
|
|
48
48
|
attr_accessor :successfully_aggregated_at
|
49
49
|
|
50
|
+
attr_accessor :use_cases
|
51
|
+
|
50
52
|
attr_accessor :user_guid
|
51
53
|
|
52
54
|
attr_accessor :user_id
|
@@ -70,6 +72,7 @@ module MxPlatformRuby
|
|
70
72
|
:'name' => :'name',
|
71
73
|
:'oauth_window_uri' => :'oauth_window_uri',
|
72
74
|
:'successfully_aggregated_at' => :'successfully_aggregated_at',
|
75
|
+
:'use_cases' => :'use_cases',
|
73
76
|
:'user_guid' => :'user_guid',
|
74
77
|
:'user_id' => :'user_id'
|
75
78
|
}
|
@@ -99,6 +102,7 @@ module MxPlatformRuby
|
|
99
102
|
:'name' => :'String',
|
100
103
|
:'oauth_window_uri' => :'String',
|
101
104
|
:'successfully_aggregated_at' => :'String',
|
105
|
+
:'use_cases' => :'Array<String>',
|
102
106
|
:'user_guid' => :'String',
|
103
107
|
:'user_id' => :'String'
|
104
108
|
}
|
@@ -122,6 +126,7 @@ module MxPlatformRuby
|
|
122
126
|
:'name',
|
123
127
|
:'oauth_window_uri',
|
124
128
|
:'successfully_aggregated_at',
|
129
|
+
:'use_cases',
|
125
130
|
:'user_guid',
|
126
131
|
:'user_id'
|
127
132
|
])
|
@@ -206,6 +211,12 @@ module MxPlatformRuby
|
|
206
211
|
self.successfully_aggregated_at = attributes[:'successfully_aggregated_at']
|
207
212
|
end
|
208
213
|
|
214
|
+
if attributes.key?(:'use_cases')
|
215
|
+
if (value = attributes[:'use_cases']).is_a?(Array)
|
216
|
+
self.use_cases = value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
209
220
|
if attributes.key?(:'user_guid')
|
210
221
|
self.user_guid = attributes[:'user_guid']
|
211
222
|
end
|
@@ -251,6 +262,7 @@ module MxPlatformRuby
|
|
251
262
|
name == o.name &&
|
252
263
|
oauth_window_uri == o.oauth_window_uri &&
|
253
264
|
successfully_aggregated_at == o.successfully_aggregated_at &&
|
265
|
+
use_cases == o.use_cases &&
|
254
266
|
user_guid == o.user_guid &&
|
255
267
|
user_id == o.user_id
|
256
268
|
end
|
@@ -264,7 +276,7 @@ module MxPlatformRuby
|
|
264
276
|
# Calculates hash code according to all attributes.
|
265
277
|
# @return [Integer] Hash code
|
266
278
|
def hash
|
267
|
-
[aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, user_guid, user_id].hash
|
279
|
+
[aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, use_cases, user_guid, user_id].hash
|
268
280
|
end
|
269
281
|
|
270
282
|
# Builds the object from hash
|
data/openapi/config.yml
CHANGED
@@ -123,6 +123,12 @@ describe MxPlatformRuby::MemberResponse do
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
+
describe 'test attribute "use_cases"' 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
|
+
|
126
132
|
describe 'test attribute "user_guid"' do
|
127
133
|
it 'should work' do
|
128
134
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|