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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ff71ed345cf592a08167f574602852c9acdd6645783fcb5f25a958a335b39eb
4
- data.tar.gz: dce0673c7a52d3852f913d90bbf37cb896138d886cb9d0e716a41d3d8321e963
3
+ metadata.gz: c302322c8935ac6da6eb0c16367fa57b6bd57ac4593c53d69476e2caf307c467
4
+ data.tar.gz: 6edb5e7843f98f36ae6d3df427e139bcdb67bdfaed5e1106e59c8450bfd94f94
5
5
  SHA512:
6
- metadata.gz: fa8ba03cb993e52f2a9ea37125b07b3f852da1b05c44f8ce55b2beb1ed085c1bf6f03e058e403aedb48cdf604c73a4adf16c434b94c2169dd37e020d92bc06d7
7
- data.tar.gz: 17ba7d57279b18e4474febcb7ebd2b99973dcbe1c552b05018af5ca07b743b02b0556fd1db98ee92850b78219938428472f37e5454ba0b73526024559d54c92c
6
+ metadata.gz: c8e752915a4bf822fd7ee83c5d6fb328ca3c34ff8bfb3a21e3e6a31b795ad2824ae4d556eb9f448c8e75f66b750b2487c84287bd2c907a8c2831e3b4d7190ea7
7
+ data.tar.gz: 7172f3a8353547146cc8b5d3bb29b2c6cb61df824da0bb295d4da214ffd86a35ce88869c090dbb7ab054417874638e9d379d65899dcac58d99236f03b2ee4c9f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (1.0.0)
4
+ mx-platform-ruby (1.1.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -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&lt;String&gt;** | | [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&#x3D;b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&amp;redirect_uri&#x3D;https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&amp;response_type&#x3D;code&amp;scope&#x3D;openid&amp;state&#x3D;d745bd4ee6f0f9c184757f574bcc2df2,
47
48
  successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
49
+ use_cases: [&quot;PFM&quot;,&quot;IAV&quot;],
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
@@ -11,5 +11,5 @@ Generator version: 7.8.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '1.0.0'
14
+ VERSION = '1.1.0'
15
15
  end
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
6
6
  gemLicense: MIT
7
7
  gemName: mx-platform-ruby
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: 1.0.0
9
+ gemVersion: 1.1.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -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.0.0
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-14 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday