mx-platform-ruby 0.30.0 → 0.31.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/MemberResponse.md +6 -0
- data/lib/mx-platform-ruby/models/member_response.rb +31 -1
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/models/member_response_spec.rb +18 -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: 23e519f908f8d399f1060bea70670177d284be65d1299f13c5ef3a9132558cfd
         | 
| 4 | 
            +
              data.tar.gz: da6c30281ddf74ea705d8d357fdab1f81b5a46344cbe1e5b2626d7b7e4e147cb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3179dcbb6a7a38f73f84d33fd2adeabd5195e79a657030d07748ed250164176cd5556c5f33131e8acacb814bc3986a1928fd09dc6c1d1ce772e2989541a7b0dd
         | 
| 7 | 
            +
              data.tar.gz: a075412dce365fd73faafaf05976832ca48c1846b6f994711986fa436851ccc5b6f3c24023e699c2764d8e6c9bbfdd2a32d4f6cde3cc62c81c177553db3d85eb
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/docs/MemberResponse.md
    CHANGED
    
    | @@ -12,8 +12,11 @@ | |
| 12 12 | 
             
            | **institution_code** | **String** |  | [optional] |
         | 
| 13 13 | 
             
            | **is_being_aggregated** | **Boolean** |  | [optional] |
         | 
| 14 14 | 
             
            | **is_managed_by_user** | **Boolean** |  | [optional] |
         | 
| 15 | 
            +
            | **is_manual** | **Boolean** |  | [optional] |
         | 
| 15 16 | 
             
            | **is_oauth** | **Boolean** |  | [optional] |
         | 
| 16 17 | 
             
            | **metadata** | **String** |  | [optional] |
         | 
| 18 | 
            +
            | **most_recent_job_detail_code** | **String** |  | [optional] |
         | 
| 19 | 
            +
            | **most_recent_job_detail_text** | **String** |  | [optional] |
         | 
| 17 20 | 
             
            | **name** | **String** |  | [optional] |
         | 
| 18 21 | 
             
            | **oauth_window_uri** | **String** |  | [optional] |
         | 
| 19 22 | 
             
            | **successfully_aggregated_at** | **String** |  | [optional] |
         | 
| @@ -34,8 +37,11 @@ instance = MxPlatformRuby::MemberResponse.new( | |
| 34 37 | 
             
              institution_code: chase,
         | 
| 35 38 | 
             
              is_being_aggregated: false,
         | 
| 36 39 | 
             
              is_managed_by_user: false,
         | 
| 40 | 
            +
              is_manual: false,
         | 
| 37 41 | 
             
              is_oauth: false,
         | 
| 38 42 | 
             
              metadata: \"credentials_last_refreshed_at\": \"2015-10-15\",
         | 
| 43 | 
            +
              most_recent_job_detail_code: (deprecated),
         | 
| 44 | 
            +
              most_recent_job_detail_text: (deprecated),
         | 
| 39 45 | 
             
              name: Chase Bank,
         | 
| 40 46 | 
             
              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,
         | 
| 41 47 | 
             
              successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
         | 
| @@ -31,10 +31,16 @@ module MxPlatformRuby | |
| 31 31 |  | 
| 32 32 | 
             
                attr_accessor :is_managed_by_user
         | 
| 33 33 |  | 
| 34 | 
            +
                attr_accessor :is_manual
         | 
| 35 | 
            +
             | 
| 34 36 | 
             
                attr_accessor :is_oauth
         | 
| 35 37 |  | 
| 36 38 | 
             
                attr_accessor :metadata
         | 
| 37 39 |  | 
| 40 | 
            +
                attr_accessor :most_recent_job_detail_code
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                attr_accessor :most_recent_job_detail_text
         | 
| 43 | 
            +
             | 
| 38 44 | 
             
                attr_accessor :name
         | 
| 39 45 |  | 
| 40 46 | 
             
                attr_accessor :oauth_window_uri
         | 
| @@ -56,8 +62,11 @@ module MxPlatformRuby | |
| 56 62 | 
             
                    :'institution_code' => :'institution_code',
         | 
| 57 63 | 
             
                    :'is_being_aggregated' => :'is_being_aggregated',
         | 
| 58 64 | 
             
                    :'is_managed_by_user' => :'is_managed_by_user',
         | 
| 65 | 
            +
                    :'is_manual' => :'is_manual',
         | 
| 59 66 | 
             
                    :'is_oauth' => :'is_oauth',
         | 
| 60 67 | 
             
                    :'metadata' => :'metadata',
         | 
| 68 | 
            +
                    :'most_recent_job_detail_code' => :'most_recent_job_detail_code',
         | 
| 69 | 
            +
                    :'most_recent_job_detail_text' => :'most_recent_job_detail_text',
         | 
| 61 70 | 
             
                    :'name' => :'name',
         | 
| 62 71 | 
             
                    :'oauth_window_uri' => :'oauth_window_uri',
         | 
| 63 72 | 
             
                    :'successfully_aggregated_at' => :'successfully_aggregated_at',
         | 
| @@ -82,8 +91,11 @@ module MxPlatformRuby | |
| 82 91 | 
             
                    :'institution_code' => :'String',
         | 
| 83 92 | 
             
                    :'is_being_aggregated' => :'Boolean',
         | 
| 84 93 | 
             
                    :'is_managed_by_user' => :'Boolean',
         | 
| 94 | 
            +
                    :'is_manual' => :'Boolean',
         | 
| 85 95 | 
             
                    :'is_oauth' => :'Boolean',
         | 
| 86 96 | 
             
                    :'metadata' => :'String',
         | 
| 97 | 
            +
                    :'most_recent_job_detail_code' => :'String',
         | 
| 98 | 
            +
                    :'most_recent_job_detail_text' => :'String',
         | 
| 87 99 | 
             
                    :'name' => :'String',
         | 
| 88 100 | 
             
                    :'oauth_window_uri' => :'String',
         | 
| 89 101 | 
             
                    :'successfully_aggregated_at' => :'String',
         | 
| @@ -102,8 +114,11 @@ module MxPlatformRuby | |
| 102 114 | 
             
                    :'institution_code',
         | 
| 103 115 | 
             
                    :'is_being_aggregated',
         | 
| 104 116 | 
             
                    :'is_managed_by_user',
         | 
| 117 | 
            +
                    :'is_manual',
         | 
| 105 118 | 
             
                    :'is_oauth',
         | 
| 106 119 | 
             
                    :'metadata',
         | 
| 120 | 
            +
                    :'most_recent_job_detail_code',
         | 
| 121 | 
            +
                    :'most_recent_job_detail_text',
         | 
| 107 122 | 
             
                    :'name',
         | 
| 108 123 | 
             
                    :'oauth_window_uri',
         | 
| 109 124 | 
             
                    :'successfully_aggregated_at',
         | 
| @@ -159,6 +174,10 @@ module MxPlatformRuby | |
| 159 174 | 
             
                    self.is_managed_by_user = attributes[:'is_managed_by_user']
         | 
| 160 175 | 
             
                  end
         | 
| 161 176 |  | 
| 177 | 
            +
                  if attributes.key?(:'is_manual')
         | 
| 178 | 
            +
                    self.is_manual = attributes[:'is_manual']
         | 
| 179 | 
            +
                  end
         | 
| 180 | 
            +
             | 
| 162 181 | 
             
                  if attributes.key?(:'is_oauth')
         | 
| 163 182 | 
             
                    self.is_oauth = attributes[:'is_oauth']
         | 
| 164 183 | 
             
                  end
         | 
| @@ -167,6 +186,14 @@ module MxPlatformRuby | |
| 167 186 | 
             
                    self.metadata = attributes[:'metadata']
         | 
| 168 187 | 
             
                  end
         | 
| 169 188 |  | 
| 189 | 
            +
                  if attributes.key?(:'most_recent_job_detail_code')
         | 
| 190 | 
            +
                    self.most_recent_job_detail_code = attributes[:'most_recent_job_detail_code']
         | 
| 191 | 
            +
                  end
         | 
| 192 | 
            +
             | 
| 193 | 
            +
                  if attributes.key?(:'most_recent_job_detail_text')
         | 
| 194 | 
            +
                    self.most_recent_job_detail_text = attributes[:'most_recent_job_detail_text']
         | 
| 195 | 
            +
                  end
         | 
| 196 | 
            +
             | 
| 170 197 | 
             
                  if attributes.key?(:'name')
         | 
| 171 198 | 
             
                    self.name = attributes[:'name']
         | 
| 172 199 | 
             
                  end
         | 
| @@ -216,8 +243,11 @@ module MxPlatformRuby | |
| 216 243 | 
             
                      institution_code == o.institution_code &&
         | 
| 217 244 | 
             
                      is_being_aggregated == o.is_being_aggregated &&
         | 
| 218 245 | 
             
                      is_managed_by_user == o.is_managed_by_user &&
         | 
| 246 | 
            +
                      is_manual == o.is_manual &&
         | 
| 219 247 | 
             
                      is_oauth == o.is_oauth &&
         | 
| 220 248 | 
             
                      metadata == o.metadata &&
         | 
| 249 | 
            +
                      most_recent_job_detail_code == o.most_recent_job_detail_code &&
         | 
| 250 | 
            +
                      most_recent_job_detail_text == o.most_recent_job_detail_text &&
         | 
| 221 251 | 
             
                      name == o.name &&
         | 
| 222 252 | 
             
                      oauth_window_uri == o.oauth_window_uri &&
         | 
| 223 253 | 
             
                      successfully_aggregated_at == o.successfully_aggregated_at &&
         | 
| @@ -234,7 +264,7 @@ module MxPlatformRuby | |
| 234 264 | 
             
                # Calculates hash code according to all attributes.
         | 
| 235 265 | 
             
                # @return [Integer] Hash code
         | 
| 236 266 | 
             
                def hash
         | 
| 237 | 
            -
                  [aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_oauth, metadata, name, oauth_window_uri, successfully_aggregated_at, user_guid, user_id].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
         | 
| 238 268 | 
             
                end
         | 
| 239 269 |  | 
| 240 270 | 
             
                # Builds the object from hash
         | 
    
        data/openapi/config.yml
    CHANGED
    
    
| @@ -73,6 +73,12 @@ describe MxPlatformRuby::MemberResponse do | |
| 73 73 | 
             
                end
         | 
| 74 74 | 
             
              end
         | 
| 75 75 |  | 
| 76 | 
            +
              describe 'test attribute "is_manual"' do
         | 
| 77 | 
            +
                it 'should work' do
         | 
| 78 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 79 | 
            +
                end
         | 
| 80 | 
            +
              end
         | 
| 81 | 
            +
             | 
| 76 82 | 
             
              describe 'test attribute "is_oauth"' do
         | 
| 77 83 | 
             
                it 'should work' do
         | 
| 78 84 | 
             
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| @@ -85,6 +91,18 @@ describe MxPlatformRuby::MemberResponse do | |
| 85 91 | 
             
                end
         | 
| 86 92 | 
             
              end
         | 
| 87 93 |  | 
| 94 | 
            +
              describe 'test attribute "most_recent_job_detail_code"' do
         | 
| 95 | 
            +
                it 'should work' do
         | 
| 96 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 97 | 
            +
                end
         | 
| 98 | 
            +
              end
         | 
| 99 | 
            +
             | 
| 100 | 
            +
              describe 'test attribute "most_recent_job_detail_text"' do
         | 
| 101 | 
            +
                it 'should work' do
         | 
| 102 | 
            +
                  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
         | 
| 103 | 
            +
                end
         | 
| 104 | 
            +
              end
         | 
| 105 | 
            +
             | 
| 88 106 | 
             
              describe 'test attribute "name"' do
         | 
| 89 107 | 
             
                it 'should work' do
         | 
| 90 108 | 
             
                  # 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: 0. | 
| 4 | 
            +
              version: 0.31.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 | 
            +
            date: 2024-07-05 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |