mx-platform-ruby 0.8.5 → 0.8.6

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: f96e80ad93da0b680c72247ef1618cc467f746e5837a02f5ba31ce57d1675604
4
- data.tar.gz: 67f4a8b5d8cfc11427c6207250a07d1b7018f0feb04ec4f896ed3f27bcb2bb8c
3
+ metadata.gz: 13988b012c37eecb0a0cc8a50fb2a2a607d2f778e7f005af3a9f5349e001e5e9
4
+ data.tar.gz: e9b91b05d931d91036aa31e76f192cda96e05ad201c499256304fa530239775a
5
5
  SHA512:
6
- metadata.gz: c16a0de03d253079f409e46ac30b562792c52de9c9dd6d847f6b15f03d4c126cb0332a511dcad083896a4ff8f29eec16b7bfd1b02cb7a9f9758b45d419438840
7
- data.tar.gz: 903e1d7a2448ecd1127e08b2739c20adaa600cd69a7287e38cde960fe57c3f21a4862d5cb4e28922917e0b25f57369f5fa478dc74c342e84625f4e0f9f175730
6
+ metadata.gz: da732186145704d494db672dcc748d4243e76188a3f3ac9908105e46d4a1fb72dd5f0c8339702d7f36952c70abebf34e8cb4519b67e23624f3b626823017dfbd
7
+ data.tar.gz: 0e1ebc68f6b138d80c7e8d666947f66445dcbba03bdeaa82a5015903bae8880e2a3c7d2ae95bbdcefb2100110dae93a5bf82206ebb443c5fc996997dd910a65b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.8.5)
4
+ mx-platform-ruby (0.8.6)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -47,7 +47,10 @@ MxPlatformRuby.configure do |config|
47
47
  config.server_index = 1
48
48
  end
49
49
 
50
- api_instance = MxPlatformRuby::MxPlatformApi.new
50
+ api_client = ::MxPlatformRuby::ApiClient.new
51
+ api_client.default_headers['Accept'] = 'application/vnd.mx.api.v1+json'
52
+ mx_platform_api = ::MxPlatformRuby::MxPlatformApi.new(api_client)
53
+
51
54
  user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
52
55
  user: MxPlatformRuby::UserCreateRequest.new(
53
56
  metadata: "Creating a user!"
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.1
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.8.5'
14
+ VERSION = '0.8.6'
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.8.5
9
+ gemVersion: 0.8.6
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -47,7 +47,10 @@ MxPlatformRuby.configure do |config|
47
47
  config.server_index = 1
48
48
  end
49
49
 
50
- api_instance = MxPlatformRuby::MxPlatformApi.new
50
+ api_client = ::MxPlatformRuby::ApiClient.new
51
+ api_client.default_headers['Accept'] = 'application/vnd.mx.api.v1+json'
52
+ mx_platform_api = ::MxPlatformRuby::MxPlatformApi.new(api_client)
53
+
51
54
  user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
52
55
  user: MxPlatformRuby::UserCreateRequest.new(
53
56
  metadata: "Creating a user!"
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.8.5
4
+ version: 0.8.6
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-01 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -428,112 +428,112 @@ test_files:
428
428
  - spec/api/mx_platform_api_spec.rb
429
429
  - spec/api_client_spec.rb
430
430
  - spec/configuration_spec.rb
431
- - spec/models/managed_member_create_request_spec.rb
432
- - spec/models/pagination_response_spec.rb
433
- - spec/models/user_response_body_spec.rb
434
- - spec/models/managed_member_update_request_body_spec.rb
435
- - spec/models/account_number_response_spec.rb
436
- - spec/models/tags_response_body_spec.rb
437
- - spec/models/enhance_transactions_request_body_spec.rb
438
- - spec/models/widget_request_spec.rb
439
- - spec/models/member_status_response_spec.rb
440
- - spec/models/o_auth_window_response_body_spec.rb
441
- - spec/models/connect_widget_request_spec.rb
442
- - spec/models/widget_response_spec.rb
443
- - spec/models/transaction_rule_update_request_spec.rb
444
- - spec/models/enhance_transactions_response_body_spec.rb
445
- - spec/models/transaction_response_spec.rb
446
- - spec/models/statement_response_body_spec.rb
447
- - spec/models/managed_member_create_request_body_spec.rb
448
- - spec/models/member_create_request_spec.rb
449
431
  - spec/models/category_update_request_spec.rb
450
- - spec/models/institution_response_body_spec.rb
451
- - spec/models/account_update_request_body_spec.rb
452
- - spec/models/tagging_create_request_spec.rb
453
- - spec/models/accounts_response_body_spec.rb
432
+ - spec/models/member_create_request_spec.rb
433
+ - spec/models/category_response_body_spec.rb
434
+ - spec/models/category_create_request_spec.rb
435
+ - spec/models/transaction_rule_update_request_spec.rb
436
+ - spec/models/tagging_update_request_body_spec.rb
437
+ - spec/models/credentials_response_body_spec.rb
438
+ - spec/models/account_response_spec.rb
439
+ - spec/models/managed_member_update_request_spec.rb
454
440
  - spec/models/holdings_response_body_spec.rb
441
+ - spec/models/transaction_rule_create_request_spec.rb
442
+ - spec/models/enhance_transactions_request_body_spec.rb
443
+ - spec/models/challenge_response_spec.rb
444
+ - spec/models/category_create_request_body_spec.rb
445
+ - spec/models/member_resume_request_body_spec.rb
446
+ - spec/models/tag_response_spec.rb
447
+ - spec/models/o_auth_window_response_spec.rb
448
+ - spec/models/connect_widget_response_spec.rb
455
449
  - spec/models/account_owners_response_body_spec.rb
450
+ - spec/models/merchant_location_response_body_spec.rb
451
+ - spec/models/transaction_rule_update_request_body_spec.rb
452
+ - spec/models/institutions_response_body_spec.rb
453
+ - spec/models/connect_widget_request_spec.rb
454
+ - spec/models/tagging_response_spec.rb
455
+ - spec/models/transaction_rules_response_body_spec.rb
456
+ - spec/models/option_response_spec.rb
457
+ - spec/models/connect_widget_response_body_spec.rb
458
+ - spec/models/user_update_request_spec.rb
459
+ - spec/models/merchant_location_response_spec.rb
460
+ - spec/models/tag_response_body_spec.rb
461
+ - spec/models/user_response_body_spec.rb
462
+ - spec/models/tagging_create_request_body_spec.rb
463
+ - spec/models/credential_request_spec.rb
464
+ - spec/models/managed_member_create_request_spec.rb
465
+ - spec/models/taggings_response_body_spec.rb
466
+ - spec/models/statements_response_body_spec.rb
467
+ - spec/models/managed_account_create_request_body_spec.rb
468
+ - spec/models/merchant_response_spec.rb
469
+ - spec/models/member_response_body_spec.rb
470
+ - spec/models/transaction_response_body_spec.rb
471
+ - spec/models/member_status_response_body_spec.rb
472
+ - spec/models/challenges_response_body_spec.rb
473
+ - spec/models/tag_create_request_body_spec.rb
474
+ - spec/models/account_update_request_spec.rb
475
+ - spec/models/institution_response_spec.rb
456
476
  - spec/models/tag_update_request_body_spec.rb
457
- - spec/models/tagging_update_request_body_spec.rb
477
+ - spec/models/member_response_spec.rb
478
+ - spec/models/managed_transaction_create_request_body_spec.rb
479
+ - spec/models/categories_response_body_spec.rb
480
+ - spec/models/managed_member_create_request_body_spec.rb
481
+ - spec/models/widget_request_body_spec.rb
482
+ - spec/models/managed_account_create_request_spec.rb
483
+ - spec/models/transaction_rule_response_body_spec.rb
458
484
  - spec/models/members_response_body_spec.rb
459
- - spec/models/statement_response_spec.rb
460
- - spec/models/member_resume_request_body_spec.rb
485
+ - spec/models/tagging_create_request_spec.rb
486
+ - spec/models/image_option_response_spec.rb
487
+ - spec/models/transactions_response_body_spec.rb
488
+ - spec/models/user_create_request_spec.rb
489
+ - spec/models/member_status_response_spec.rb
490
+ - spec/models/tag_create_request_spec.rb
491
+ - spec/models/user_response_spec.rb
492
+ - spec/models/member_update_request_spec.rb
493
+ - spec/models/widget_request_spec.rb
461
494
  - spec/models/tag_update_request_spec.rb
495
+ - spec/models/statement_response_spec.rb
496
+ - spec/models/managed_transaction_create_request_spec.rb
497
+ - spec/models/managed_account_update_request_body_spec.rb
498
+ - spec/models/transaction_update_request_spec.rb
462
499
  - spec/models/tagging_response_body_spec.rb
463
- - spec/models/member_resume_request_spec.rb
464
- - spec/models/transaction_rule_response_body_spec.rb
500
+ - spec/models/account_number_response_spec.rb
465
501
  - spec/models/account_numbers_response_body_spec.rb
466
- - spec/models/challenge_response_spec.rb
467
- - spec/models/user_update_request_spec.rb
468
- - spec/models/category_response_body_spec.rb
502
+ - spec/models/users_response_body_spec.rb
503
+ - spec/models/user_create_request_body_spec.rb
504
+ - spec/models/managed_account_update_request_spec.rb
505
+ - spec/models/member_create_request_body_spec.rb
506
+ - spec/models/accounts_response_body_spec.rb
507
+ - spec/models/tags_response_body_spec.rb
508
+ - spec/models/member_resume_request_spec.rb
509
+ - spec/models/managed_transaction_update_request_spec.rb
510
+ - spec/models/pagination_response_spec.rb
511
+ - spec/models/transaction_rule_response_spec.rb
469
512
  - spec/models/merchant_response_body_spec.rb
470
- - spec/models/managed_account_create_request_body_spec.rb
471
- - spec/models/connect_widget_request_body_spec.rb
472
- - spec/models/transaction_update_request_body_spec.rb
473
- - spec/models/taggings_response_body_spec.rb
474
- - spec/models/o_auth_window_response_spec.rb
475
- - spec/models/institutions_response_body_spec.rb
476
- - spec/models/tagging_update_request_spec.rb
477
- - spec/models/statements_response_body_spec.rb
478
- - spec/models/connect_widget_response_spec.rb
513
+ - spec/models/managed_member_update_request_body_spec.rb
479
514
  - spec/models/account_owner_response_spec.rb
480
- - spec/models/account_response_body_spec.rb
481
- - spec/models/merchants_response_body_spec.rb
482
- - spec/models/category_create_request_body_spec.rb
483
- - spec/models/transaction_update_request_spec.rb
484
- - spec/models/category_update_request_body_spec.rb
485
515
  - spec/models/category_response_spec.rb
486
- - spec/models/user_create_request_body_spec.rb
487
- - spec/models/managed_transaction_create_request_spec.rb
488
- - spec/models/member_update_request_spec.rb
489
- - spec/models/widget_response_body_spec.rb
490
- - spec/models/merchant_location_response_body_spec.rb
491
- - spec/models/member_create_request_body_spec.rb
492
- - spec/models/managed_account_update_request_body_spec.rb
493
- - spec/models/transaction_response_body_spec.rb
494
- - spec/models/connect_widget_response_body_spec.rb
495
- - spec/models/account_update_request_spec.rb
496
- - spec/models/tag_create_request_spec.rb
497
- - spec/models/transaction_rule_create_request_body_spec.rb
516
+ - spec/models/connect_widget_request_body_spec.rb
517
+ - spec/models/transaction_response_spec.rb
518
+ - spec/models/category_update_request_body_spec.rb
498
519
  - spec/models/managed_transaction_update_request_body_spec.rb
499
- - spec/models/challenges_response_body_spec.rb
520
+ - spec/models/account_response_body_spec.rb
521
+ - spec/models/user_update_request_body_spec.rb
522
+ - spec/models/account_update_request_body_spec.rb
523
+ - spec/models/widget_response_spec.rb
524
+ - spec/models/enhance_transactions_response_body_spec.rb
525
+ - spec/models/o_auth_window_response_body_spec.rb
526
+ - spec/models/widget_response_body_spec.rb
527
+ - spec/models/enhance_transaction_response_spec.rb
528
+ - spec/models/institution_response_body_spec.rb
529
+ - spec/models/tagging_update_request_spec.rb
500
530
  - spec/models/enhance_transactions_request_spec.rb
501
- - spec/models/credential_request_spec.rb
502
- - spec/models/credentials_response_body_spec.rb
503
- - spec/models/transaction_rule_update_request_body_spec.rb
504
531
  - spec/models/credential_response_spec.rb
505
- - spec/models/managed_transaction_update_request_spec.rb
506
- - spec/models/tagging_response_spec.rb
507
- - spec/models/managed_account_update_request_spec.rb
508
- - spec/models/merchant_location_response_spec.rb
509
- - spec/models/member_response_spec.rb
510
- - spec/models/managed_account_create_request_spec.rb
511
- - spec/models/users_response_body_spec.rb
512
- - spec/models/user_response_spec.rb
513
- - spec/models/category_create_request_spec.rb
514
- - spec/models/tag_response_body_spec.rb
515
- - spec/models/transaction_rule_response_spec.rb
532
+ - spec/models/statement_response_body_spec.rb
516
533
  - spec/models/member_update_request_body_spec.rb
534
+ - spec/models/merchants_response_body_spec.rb
535
+ - spec/models/transaction_rule_create_request_body_spec.rb
517
536
  - spec/models/holding_response_body_spec.rb
518
- - spec/models/managed_member_update_request_spec.rb
519
- - spec/models/widget_request_body_spec.rb
520
- - spec/models/transaction_rules_response_body_spec.rb
521
- - spec/models/user_create_request_spec.rb
522
- - spec/models/categories_response_body_spec.rb
523
- - spec/models/enhance_transaction_response_spec.rb
524
- - spec/models/institution_response_spec.rb
525
- - spec/models/image_option_response_spec.rb
526
- - spec/models/member_status_response_body_spec.rb
527
- - spec/models/merchant_response_spec.rb
528
- - spec/models/tag_create_request_body_spec.rb
529
- - spec/models/member_response_body_spec.rb
530
- - spec/models/tagging_create_request_body_spec.rb
531
- - spec/models/option_response_spec.rb
532
- - spec/models/transactions_response_body_spec.rb
533
- - spec/models/transaction_rule_create_request_spec.rb
534
- - spec/models/user_update_request_body_spec.rb
535
537
  - spec/models/holding_response_spec.rb
536
- - spec/models/tag_response_spec.rb
537
- - spec/models/managed_transaction_create_request_body_spec.rb
538
- - spec/models/account_response_spec.rb
538
+ - spec/models/transaction_update_request_body_spec.rb
539
539
  - spec/spec_helper.rb