mx-platform-ruby 0.11.1 → 0.11.2

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: 39e6a784d769faf29233eb2754ee6eee88afc0b1143899fea9a06daab4b2748b
4
- data.tar.gz: 01b1a01e055eb2c3dde4fea1c85b386fa735129102e316877cfa379802a8849a
3
+ metadata.gz: d9d4a26b3ac19690196d2bb65b2832e60224b7edd9551edaf683bad2943262e5
4
+ data.tar.gz: 18ebac6201fbf962887a2f79eb62b2ffc675ec17a90bf895a3576e2e633825b9
5
5
  SHA512:
6
- metadata.gz: 63a9fcd4993b000dd6cee0cc614f783eae8986d37605364840e6f73098e7b267b36e0c6c0c07ebcc253939813203c4f7a1e767ae8cb2e73fc28289bee0af69a2
7
- data.tar.gz: f178ac8d7f3dd1b7db9870e56e5d074cf28f026b8a6ea252e2aaf27a64394eaf49be1e228ed99b616384ad67d1b76f68bd9fd78633f49cd6ee6f1d56ca55c8c8
6
+ metadata.gz: 3c88a6dca6e12e87592bd6f837e768d961f882f249e5a2a7d225732596d2323f5c3bfbaebaaff65a4f25e199b14d1913ce1c30f8f41de62e39133e043d26ee8e
7
+ data.tar.gz: d48da8b5bd045f345d30f935bc9a42b74001b834ee392e88e28d87cf0dcfc8c5c7a76f3060ebc7c3d2a69fdc30a447ce751c14d13a972c49595955b70279585b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.11.1)
4
+ mx-platform-ruby (0.11.2)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -87,4 +87,4 @@ DEPENDENCIES
87
87
  rubocop (~> 0.66.0)
88
88
 
89
89
  BUNDLED WITH
90
- 2.3.8
90
+ 2.3.9
@@ -9,6 +9,7 @@
9
9
  | **field_type** | **String** | | [optional] |
10
10
  | **guid** | **String** | | [optional] |
11
11
  | **label** | **String** | | [optional] |
12
+ | **type** | **String** | | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = MxPlatformRuby::CredentialResponse.new(
20
21
  field_name: LOGIN,
21
22
  field_type: TEXT,
22
23
  guid: CRD-1ec152cd-e628-e81a-e852-d1e7104624da,
23
- label: Username
24
+ label: Username,
25
+ type: TEXT
24
26
  )
25
27
  ```
26
28
 
@@ -25,6 +25,8 @@ module MxPlatformRuby
25
25
 
26
26
  attr_accessor :label
27
27
 
28
+ attr_accessor :type
29
+
28
30
  # Attribute mapping from ruby-style variable name to JSON key.
29
31
  def self.attribute_map
30
32
  {
@@ -32,7 +34,8 @@ module MxPlatformRuby
32
34
  :'field_name' => :'field_name',
33
35
  :'field_type' => :'field_type',
34
36
  :'guid' => :'guid',
35
- :'label' => :'label'
37
+ :'label' => :'label',
38
+ :'type' => :'type'
36
39
  }
37
40
  end
38
41
 
@@ -48,7 +51,8 @@ module MxPlatformRuby
48
51
  :'field_name' => :'String',
49
52
  :'field_type' => :'String',
50
53
  :'guid' => :'String',
51
- :'label' => :'String'
54
+ :'label' => :'String',
55
+ :'type' => :'String'
52
56
  }
53
57
  end
54
58
 
@@ -59,7 +63,8 @@ module MxPlatformRuby
59
63
  :'field_name',
60
64
  :'field_type',
61
65
  :'guid',
62
- :'label'
66
+ :'label',
67
+ :'type'
63
68
  ])
64
69
  end
65
70
 
@@ -97,6 +102,10 @@ module MxPlatformRuby
97
102
  if attributes.key?(:'label')
98
103
  self.label = attributes[:'label']
99
104
  end
105
+
106
+ if attributes.key?(:'type')
107
+ self.type = attributes[:'type']
108
+ end
100
109
  end
101
110
 
102
111
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -121,7 +130,8 @@ module MxPlatformRuby
121
130
  field_name == o.field_name &&
122
131
  field_type == o.field_type &&
123
132
  guid == o.guid &&
124
- label == o.label
133
+ label == o.label &&
134
+ type == o.type
125
135
  end
126
136
 
127
137
  # @see the `==` method
@@ -133,7 +143,7 @@ module MxPlatformRuby
133
143
  # Calculates hash code according to all attributes.
134
144
  # @return [Integer] Hash code
135
145
  def hash
136
- [display_order, field_name, field_type, guid, label].hash
146
+ [display_order, field_name, field_type, guid, label, type].hash
137
147
  end
138
148
 
139
149
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.11.1'
14
+ VERSION = '0.11.2'
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: 0.11.1
9
+ gemVersion: 0.11.2
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -55,4 +55,10 @@ describe MxPlatformRuby::CredentialResponse do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "type"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
58
64
  end
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.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -449,119 +449,119 @@ test_files:
449
449
  - spec/api/mx_platform_api_spec.rb
450
450
  - spec/api_client_spec.rb
451
451
  - spec/configuration_spec.rb
452
- - spec/models/payment_processor_token_response_body_spec.rb
453
- - spec/models/category_update_request_spec.rb
454
- - spec/models/member_create_request_spec.rb
455
- - spec/models/category_response_body_spec.rb
456
- - spec/models/category_create_request_spec.rb
457
- - spec/models/transaction_rule_update_request_spec.rb
458
- - spec/models/tagging_update_request_body_spec.rb
459
- - spec/models/credentials_response_body_spec.rb
460
- - spec/models/account_response_spec.rb
461
- - spec/models/managed_member_update_request_spec.rb
462
- - spec/models/holdings_response_body_spec.rb
463
452
  - spec/models/transaction_rule_create_request_spec.rb
464
- - spec/models/enhance_transactions_request_body_spec.rb
465
- - spec/models/challenge_response_spec.rb
466
- - spec/models/category_create_request_body_spec.rb
467
- - spec/models/member_resume_request_body_spec.rb
468
- - spec/models/tag_response_spec.rb
469
- - spec/models/o_auth_window_response_spec.rb
470
- - spec/models/connect_widget_response_spec.rb
453
+ - spec/models/account_update_request_body_spec.rb
454
+ - spec/models/statements_response_body_spec.rb
455
+ - spec/models/member_update_request_body_spec.rb
456
+ - spec/models/members_response_body_spec.rb
457
+ - spec/models/transaction_rule_create_request_body_spec.rb
458
+ - spec/models/member_status_response_spec.rb
471
459
  - spec/models/account_owners_response_body_spec.rb
472
460
  - spec/models/merchant_location_response_body_spec.rb
473
- - spec/models/payment_processor_authorization_code_request_spec.rb
474
- - spec/models/transaction_rule_update_request_body_spec.rb
475
- - spec/models/institutions_response_body_spec.rb
476
- - spec/models/connect_widget_request_spec.rb
477
- - spec/models/tagging_response_spec.rb
478
- - spec/models/transaction_rules_response_body_spec.rb
479
- - spec/models/option_response_spec.rb
480
- - spec/models/connect_widget_response_body_spec.rb
481
- - spec/models/user_update_request_spec.rb
482
- - spec/models/merchant_location_response_spec.rb
483
- - spec/models/tag_response_body_spec.rb
484
- - spec/models/user_response_body_spec.rb
485
- - spec/models/tagging_create_request_body_spec.rb
486
- - spec/models/credential_request_spec.rb
487
- - spec/models/managed_member_create_request_spec.rb
488
- - spec/models/taggings_response_body_spec.rb
489
- - spec/models/statements_response_body_spec.rb
490
461
  - spec/models/managed_account_create_request_body_spec.rb
491
- - spec/models/merchant_response_spec.rb
492
- - spec/models/member_response_body_spec.rb
493
- - spec/models/transaction_response_body_spec.rb
494
- - spec/models/member_status_response_body_spec.rb
462
+ - spec/models/enhance_transactions_request_body_spec.rb
463
+ - spec/models/transaction_rule_update_request_spec.rb
464
+ - spec/models/member_create_request_body_spec.rb
465
+ - spec/models/payment_processor_authorization_code_response_spec.rb
495
466
  - spec/models/challenges_response_body_spec.rb
496
- - spec/models/payment_processor_authorization_code_request_body_spec.rb
467
+ - spec/models/o_auth_window_response_spec.rb
468
+ - spec/models/pagination_response_spec.rb
469
+ - spec/models/transactions_response_body_spec.rb
470
+ - spec/models/tagging_create_request_body_spec.rb
471
+ - spec/models/connect_widget_request_body_spec.rb
472
+ - spec/models/credentials_response_body_spec.rb
473
+ - spec/models/managed_member_create_request_spec.rb
474
+ - spec/models/users_response_body_spec.rb
475
+ - spec/models/member_resume_request_body_spec.rb
476
+ - spec/models/user_response_body_spec.rb
497
477
  - spec/models/tag_create_request_body_spec.rb
498
- - spec/models/account_update_request_spec.rb
499
- - spec/models/payment_processor_authorization_code_response_spec.rb
500
- - spec/models/institution_response_spec.rb
501
- - spec/models/tag_update_request_body_spec.rb
478
+ - spec/models/taggings_response_body_spec.rb
479
+ - spec/models/payment_processor_authorization_code_response_body_spec.rb
480
+ - spec/models/enhance_transactions_request_spec.rb
481
+ - spec/models/tag_update_request_spec.rb
482
+ - spec/models/account_numbers_response_body_spec.rb
502
483
  - spec/models/member_response_spec.rb
503
- - spec/models/managed_transaction_create_request_body_spec.rb
504
- - spec/models/categories_response_body_spec.rb
505
- - spec/models/managed_member_create_request_body_spec.rb
506
- - spec/models/widget_request_body_spec.rb
507
- - spec/models/managed_account_create_request_spec.rb
508
- - spec/models/transaction_rule_response_body_spec.rb
509
- - spec/models/members_response_body_spec.rb
510
- - spec/models/tagging_create_request_spec.rb
511
- - spec/models/image_option_response_spec.rb
512
- - spec/models/transactions_response_body_spec.rb
513
- - spec/models/user_create_request_spec.rb
514
- - spec/models/member_status_response_spec.rb
515
- - spec/models/tag_create_request_spec.rb
516
- - spec/models/user_response_spec.rb
517
- - spec/models/member_update_request_spec.rb
484
+ - spec/models/transaction_update_request_body_spec.rb
485
+ - spec/models/managed_member_update_request_spec.rb
518
486
  - spec/models/widget_request_spec.rb
519
- - spec/models/tag_update_request_spec.rb
520
- - spec/models/statement_response_spec.rb
521
- - spec/models/managed_transaction_create_request_spec.rb
522
- - spec/models/managed_account_update_request_body_spec.rb
523
487
  - spec/models/transaction_update_request_spec.rb
524
- - spec/models/tagging_response_body_spec.rb
488
+ - spec/models/managed_account_update_request_body_spec.rb
489
+ - spec/models/member_status_response_body_spec.rb
490
+ - spec/models/tags_response_body_spec.rb
491
+ - spec/models/merchant_response_body_spec.rb
492
+ - spec/models/connect_widget_request_spec.rb
493
+ - spec/models/option_response_spec.rb
494
+ - spec/models/widget_response_spec.rb
495
+ - spec/models/connect_widget_response_spec.rb
496
+ - spec/models/account_update_request_spec.rb
497
+ - spec/models/payment_processor_token_response_body_spec.rb
498
+ - spec/models/category_update_request_spec.rb
499
+ - spec/models/tag_response_body_spec.rb
525
500
  - spec/models/account_number_response_spec.rb
526
- - spec/models/account_numbers_response_body_spec.rb
527
- - spec/models/users_response_body_spec.rb
528
- - spec/models/user_create_request_body_spec.rb
529
- - spec/models/managed_account_update_request_spec.rb
530
- - spec/models/member_create_request_body_spec.rb
501
+ - spec/models/holding_response_spec.rb
531
502
  - spec/models/accounts_response_body_spec.rb
532
- - spec/models/tags_response_body_spec.rb
533
- - spec/models/payment_account_response_spec.rb
534
- - spec/models/member_resume_request_spec.rb
535
- - spec/models/managed_transaction_update_request_spec.rb
536
- - spec/models/pagination_response_spec.rb
503
+ - spec/models/connect_widget_response_body_spec.rb
504
+ - spec/models/account_response_spec.rb
505
+ - spec/models/member_update_request_spec.rb
537
506
  - spec/models/transaction_rule_response_spec.rb
538
- - spec/models/payment_account_response_body_spec.rb
539
- - spec/models/merchant_response_body_spec.rb
540
- - spec/models/managed_member_update_request_body_spec.rb
541
- - spec/models/account_owner_response_spec.rb
542
- - spec/models/category_response_spec.rb
543
- - spec/models/connect_widget_request_body_spec.rb
544
507
  - spec/models/transaction_response_spec.rb
545
- - spec/models/category_update_request_body_spec.rb
508
+ - spec/models/holding_response_body_spec.rb
509
+ - spec/models/categories_response_body_spec.rb
510
+ - spec/models/managed_account_update_request_spec.rb
511
+ - spec/models/institution_response_spec.rb
512
+ - spec/models/transaction_rule_response_body_spec.rb
513
+ - spec/models/enhance_transactions_response_body_spec.rb
514
+ - spec/models/managed_transaction_create_request_body_spec.rb
515
+ - spec/models/tag_update_request_body_spec.rb
516
+ - spec/models/enhance_transaction_response_spec.rb
517
+ - spec/models/category_create_request_spec.rb
546
518
  - spec/models/managed_transaction_update_request_body_spec.rb
519
+ - spec/models/statement_response_spec.rb
520
+ - spec/models/institutions_response_body_spec.rb
521
+ - spec/models/user_response_spec.rb
522
+ - spec/models/category_create_request_body_spec.rb
523
+ - spec/models/payment_processor_authorization_code_request_body_spec.rb
547
524
  - spec/models/account_response_body_spec.rb
548
- - spec/models/user_update_request_body_spec.rb
549
- - spec/models/account_update_request_body_spec.rb
550
- - spec/models/widget_response_spec.rb
551
- - spec/models/enhance_transactions_response_body_spec.rb
552
525
  - spec/models/o_auth_window_response_body_spec.rb
553
- - spec/models/widget_response_body_spec.rb
554
- - spec/models/enhance_transaction_response_spec.rb
526
+ - spec/models/tagging_response_body_spec.rb
527
+ - spec/models/transaction_rule_update_request_body_spec.rb
528
+ - spec/models/tag_response_spec.rb
529
+ - spec/models/merchants_response_body_spec.rb
530
+ - spec/models/payment_processor_authorization_code_request_spec.rb
531
+ - spec/models/tag_create_request_spec.rb
532
+ - spec/models/category_update_request_body_spec.rb
533
+ - spec/models/managed_member_update_request_body_spec.rb
534
+ - spec/models/tagging_update_request_body_spec.rb
535
+ - spec/models/managed_transaction_create_request_spec.rb
536
+ - spec/models/managed_account_create_request_spec.rb
537
+ - spec/models/member_resume_request_spec.rb
538
+ - spec/models/transaction_response_body_spec.rb
539
+ - spec/models/category_response_body_spec.rb
540
+ - spec/models/user_create_request_body_spec.rb
555
541
  - spec/models/institution_response_body_spec.rb
542
+ - spec/models/merchant_response_spec.rb
543
+ - spec/models/member_create_request_spec.rb
544
+ - spec/models/widget_request_body_spec.rb
545
+ - spec/models/image_option_response_spec.rb
546
+ - spec/models/payment_account_response_body_spec.rb
547
+ - spec/models/user_update_request_body_spec.rb
548
+ - spec/models/member_response_body_spec.rb
549
+ - spec/models/merchant_location_response_spec.rb
550
+ - spec/models/statement_response_body_spec.rb
551
+ - spec/models/credential_request_spec.rb
552
+ - spec/models/user_update_request_spec.rb
553
+ - spec/models/transaction_rules_response_body_spec.rb
556
554
  - spec/models/tagging_update_request_spec.rb
557
- - spec/models/enhance_transactions_request_spec.rb
555
+ - spec/models/category_response_spec.rb
558
556
  - spec/models/credential_response_spec.rb
559
- - spec/models/statement_response_body_spec.rb
560
- - spec/models/member_update_request_body_spec.rb
561
- - spec/models/merchants_response_body_spec.rb
562
- - spec/models/transaction_rule_create_request_body_spec.rb
563
- - spec/models/payment_processor_authorization_code_response_body_spec.rb
564
- - spec/models/holding_response_body_spec.rb
565
- - spec/models/holding_response_spec.rb
566
- - spec/models/transaction_update_request_body_spec.rb
557
+ - spec/models/tagging_response_spec.rb
558
+ - spec/models/challenge_response_spec.rb
559
+ - spec/models/user_create_request_spec.rb
560
+ - spec/models/widget_response_body_spec.rb
561
+ - spec/models/managed_transaction_update_request_spec.rb
562
+ - spec/models/account_owner_response_spec.rb
563
+ - spec/models/payment_account_response_spec.rb
564
+ - spec/models/tagging_create_request_spec.rb
565
+ - spec/models/holdings_response_body_spec.rb
566
+ - spec/models/managed_member_create_request_body_spec.rb
567
567
  - spec/spec_helper.rb