mx-platform-ruby 0.9.2 → 0.11.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/README.md +7 -7
  4. data/docs/MxPlatformApi.md +309 -90
  5. data/docs/PaymentAccountResponse.md +30 -0
  6. data/docs/PaymentAccountResponseBody.md +18 -0
  7. data/docs/PaymentProcessorAuthorizationCodeRequest.md +22 -0
  8. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +18 -0
  9. data/docs/PaymentProcessorAuthorizationCodeResponse.md +18 -0
  10. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +18 -0
  11. data/docs/PaymentProcessorTokenResponseBody.md +22 -0
  12. data/lib/mx-platform-ruby/api/mx_platform_api.rb +347 -131
  13. data/lib/mx-platform-ruby/configuration.rb +7 -0
  14. data/lib/mx-platform-ruby/models/payment_account_response.rb +279 -0
  15. data/lib/mx-platform-ruby/models/payment_account_response_body.rb +218 -0
  16. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +236 -0
  17. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +218 -0
  18. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +219 -0
  19. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +218 -0
  20. data/lib/mx-platform-ruby/models/payment_processor_token_response_body.rb +239 -0
  21. data/lib/mx-platform-ruby/version.rb +1 -1
  22. data/lib/mx-platform-ruby.rb +7 -0
  23. data/openapi/config.yml +1 -1
  24. data/openapi/templates/README.mustache +7 -7
  25. data/spec/api/mx_platform_api_spec.rb +55 -15
  26. data/spec/models/payment_account_response_body_spec.rb +34 -0
  27. data/spec/models/payment_account_response_spec.rb +70 -0
  28. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +34 -0
  29. data/spec/models/payment_processor_authorization_code_request_spec.rb +46 -0
  30. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +34 -0
  31. data/spec/models/payment_processor_authorization_code_response_spec.rb +34 -0
  32. data/spec/models/payment_processor_token_response_body_spec.rb +46 -0
  33. metadata +30 -2
@@ -74,8 +74,8 @@ describe 'MxPlatformApi' do
74
74
  # unit tests for create_managed_account
75
75
  # Create managed account
76
76
  # Use this endpoint to create a partner-managed account.
77
- # @param user_guid The unique id for a `user`.
78
77
  # @param member_guid The unique id for a `member`.
78
+ # @param user_guid The unique id for a `user`.
79
79
  # @param managed_account_create_request_body Managed account to be created.
80
80
  # @param [Hash] opts the optional parameters
81
81
  # @return [AccountResponseBody]
@@ -101,8 +101,9 @@ describe 'MxPlatformApi' do
101
101
  # unit tests for create_managed_transaction
102
102
  # Create managed transaction
103
103
  # Use this endpoint to create a new partner-managed `transaction`.
104
- # @param user_guid The unique id for a `user`.
104
+ # @param account_guid The unique id for an `account`.
105
105
  # @param member_guid The unique id for a `member`.
106
+ # @param user_guid The unique id for a `user`.
106
107
  # @param managed_transaction_create_request_body Managed transaction to be created.
107
108
  # @param [Hash] opts the optional parameters
108
109
  # @return [TransactionResponseBody]
@@ -192,9 +193,9 @@ describe 'MxPlatformApi' do
192
193
  # unit tests for delete_managed_account
193
194
  # Delete managed account
194
195
  # Use this endpoint to delete a partner-managed account according to its unique GUID. If successful, the API will respond with a status of `204 No Content`.
196
+ # @param account_guid The unique id for an `account`.
195
197
  # @param member_guid The unique id for a `member`.
196
198
  # @param user_guid The unique id for a `user`.
197
- # @param account_guid The unique id for an `account`.
198
199
  # @param [Hash] opts the optional parameters
199
200
  # @return [nil]
200
201
  describe 'delete_managed_account test' do
@@ -219,9 +220,10 @@ describe 'MxPlatformApi' do
219
220
  # unit tests for delete_managed_transaction
220
221
  # Delete managed transaction
221
222
  # Use this endpoint to delete the specified partner-managed `transaction`. The endpoint will respond with a status of `204 No Content` without a resource.
223
+ # @param account_guid The unique id for an `account`.
222
224
  # @param member_guid The unique id for a `member`.
223
- # @param user_guid The unique id for a `user`.
224
225
  # @param transaction_guid The unique id for a `transaction`.
226
+ # @param user_guid The unique id for a `user`.
225
227
  # @param [Hash] opts the optional parameters
226
228
  # @return [nil]
227
229
  describe 'delete_managed_transaction test' do
@@ -543,8 +545,8 @@ describe 'MxPlatformApi' do
543
545
  # unit tests for list_managed_accounts
544
546
  # List managed accounts
545
547
  # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
546
- # @param user_guid The unique id for a `user`.
547
548
  # @param member_guid The unique id for a `member`.
549
+ # @param user_guid The unique id for a `user`.
548
550
  # @param [Hash] opts the optional parameters
549
551
  # @option opts [Integer] :page Specify current page.
550
552
  # @option opts [Integer] :records_per_page Specify records per page.
@@ -585,8 +587,9 @@ describe 'MxPlatformApi' do
585
587
  # unit tests for list_managed_transactions
586
588
  # List managed transactions
587
589
  # This endpoint returns a list of all the partner-managed transactions associated with the specified `account`, scoped through a `user` and a `member`.
588
- # @param user_guid The unique id for a `user`.
590
+ # @param account_guid The unique id for an `account`.
589
591
  # @param member_guid The unique id for a `member`.
592
+ # @param user_guid The unique id for a `user`.
590
593
  # @param [Hash] opts the optional parameters
591
594
  # @option opts [Integer] :page Specify current page.
592
595
  # @option opts [Integer] :records_per_page Specify records per page.
@@ -835,7 +838,6 @@ describe 'MxPlatformApi' do
835
838
  # Read a default category
836
839
  # Use this endpoint to read the attributes of a default category.
837
840
  # @param category_guid The unique id for a `category`.
838
- # @param user_guid The unique id for a `user`.
839
841
  # @param [Hash] opts the optional parameters
840
842
  # @return [CategoryResponseBody]
841
843
  describe 'read_default_category test' do
@@ -872,9 +874,9 @@ describe 'MxPlatformApi' do
872
874
  # unit tests for read_managed_account
873
875
  # Read managed account
874
876
  # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
877
+ # @param account_guid The unique id for an `account`.
875
878
  # @param member_guid The unique id for a `member`.
876
879
  # @param user_guid The unique id for a `user`.
877
- # @param account_guid The unique id for an `account`.
878
880
  # @param [Hash] opts the optional parameters
879
881
  # @return [AccountResponseBody]
880
882
  describe 'read_managed_account test' do
@@ -899,9 +901,10 @@ describe 'MxPlatformApi' do
899
901
  # unit tests for read_managed_transaction
900
902
  # Read managed transaction
901
903
  # Requests to this endpoint will return the attributes of the specified partner-managed `transaction`.
904
+ # @param account_guid The unique id for an `account`.
902
905
  # @param member_guid The unique id for a `member`.
903
- # @param user_guid The unique id for a `user`.
904
906
  # @param transaction_guid The unique id for a `transaction`.
907
+ # @param user_guid The unique id for a `user`.
905
908
  # @param [Hash] opts the optional parameters
906
909
  # @return [TransactionResponseBody]
907
910
  describe 'read_managed_transaction test' do
@@ -1042,8 +1045,8 @@ describe 'MxPlatformApi' do
1042
1045
  # Request connect widget url
1043
1046
  # This endpoint will return a URL for an embeddable version of MX Connect.
1044
1047
  # @param user_guid The unique id for a `user`.
1048
+ # @param connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
1045
1049
  # @param [Hash] opts the optional parameters
1046
- # @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
1047
1050
  # @return [ConnectWidgetResponseBody]
1048
1051
  describe 'request_connect_widget_url test' do
1049
1052
  it 'should work' do
@@ -1058,8 +1061,8 @@ describe 'MxPlatformApi' do
1058
1061
  # @param user_guid The unique id for a `user`.
1059
1062
  # @param [Hash] opts the optional parameters
1060
1063
  # @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
1061
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
1062
1064
  # @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
1065
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
1063
1066
  # @return [OAuthWindowResponseBody]
1064
1067
  describe 'request_o_auth_window_uri test' do
1065
1068
  it 'should work' do
@@ -1067,6 +1070,42 @@ describe 'MxPlatformApi' do
1067
1070
  end
1068
1071
  end
1069
1072
 
1073
+ # unit tests for request_payment_account
1074
+ # Request payment account
1075
+ # Use this endpoint to request a payment account.
1076
+ # @param [Hash] opts the optional parameters
1077
+ # @return [PaymentAccountResponseBody]
1078
+ describe 'request_payment_account test' do
1079
+ it 'should work' do
1080
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1081
+ end
1082
+ end
1083
+
1084
+ # unit tests for request_payment_processor_authorization_code
1085
+ # Request payment processor authorization code
1086
+ # Use this endpoint to request a payment processor authorization code.
1087
+ # @param payment_processor_authorization_code_request_body Payment processor authorization code object containing account_guid, member_guid, and user_guid.
1088
+ # @param [Hash] opts the optional parameters
1089
+ # @return [PaymentProcessorAuthorizationCodeResponseBody]
1090
+ describe 'request_payment_processor_authorization_code test' do
1091
+ it 'should work' do
1092
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1093
+ end
1094
+ end
1095
+
1096
+ # unit tests for request_payment_processor_token
1097
+ # Request payment processor token
1098
+ # Use this endpoint to request a payment processor token.
1099
+ # @param [Hash] opts the optional parameters
1100
+ # @option opts [String] :code Code to request processor token.
1101
+ # @option opts [String] :grant_type Specify grant type.
1102
+ # @return [PaymentProcessorTokenResponseBody]
1103
+ describe 'request_payment_processor_token test' do
1104
+ it 'should work' do
1105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1106
+ end
1107
+ end
1108
+
1070
1109
  # unit tests for request_widget_url
1071
1110
  # Request widget url
1072
1111
  # This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
@@ -1098,9 +1137,9 @@ describe 'MxPlatformApi' do
1098
1137
  # unit tests for update_account_by_member
1099
1138
  # Update account by member
1100
1139
  # This endpoint allows you to update certain attributes of an `account` resource.
1101
- # @param user_guid The unique id for a `user`.
1102
- # @param member_guid The unique id for a `member`.
1103
1140
  # @param account_guid The unique id for an `account`.
1141
+ # @param member_guid The unique id for a `member`.
1142
+ # @param user_guid The unique id for a `user`.
1104
1143
  # @param account_update_request_body Account object to be created with optional parameters (is_hidden)
1105
1144
  # @param [Hash] opts the optional parameters
1106
1145
  # @return [AccountResponseBody]
@@ -1127,9 +1166,9 @@ describe 'MxPlatformApi' do
1127
1166
  # unit tests for update_managed_account
1128
1167
  # Update managed account
1129
1168
  # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
1169
+ # @param account_guid The unique id for an `account`.
1130
1170
  # @param member_guid The unique id for a `member`.
1131
1171
  # @param user_guid The unique id for a `user`.
1132
- # @param account_guid The unique id for an `account`.
1133
1172
  # @param managed_account_update_request_body Managed account object to be updated (While no single parameter is required, the request body can't be empty)
1134
1173
  # @param [Hash] opts the optional parameters
1135
1174
  # @return [AccountResponseBody]
@@ -1156,9 +1195,10 @@ describe 'MxPlatformApi' do
1156
1195
  # unit tests for update_managed_transaction
1157
1196
  # Update managed transaction
1158
1197
  # Use this endpoint to update the attributes of the specified partner_managed `transaction`.
1198
+ # @param account_guid The unique id for an `account`.
1159
1199
  # @param member_guid The unique id for a `member`.
1160
- # @param user_guid The unique id for a `user`.
1161
1200
  # @param transaction_guid The unique id for a `transaction`.
1201
+ # @param user_guid The unique id for a `user`.
1162
1202
  # @param managed_transaction_update_request_body Managed transaction object to be updated (While no single parameter is required, the request body can't be empty)
1163
1203
  # @param [Hash] opts the optional parameters
1164
1204
  # @return [TransactionResponseBody]
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentAccountResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentAccountResponseBody do
21
+ let(:instance) { MxPlatformRuby::PaymentAccountResponseBody.new }
22
+
23
+ describe 'test an instance of PaymentAccountResponseBody' do
24
+ it 'should create an instance of PaymentAccountResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentAccountResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "payment_account"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentAccountResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentAccountResponse do
21
+ let(:instance) { MxPlatformRuby::PaymentAccountResponse.new }
22
+
23
+ describe 'test an instance of PaymentAccountResponse' do
24
+ it 'should create an instance of PaymentAccountResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentAccountResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "account_name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "account_number"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "account_type"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "available_balance"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "balance"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "routing_number"' 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
+
64
+ describe 'test attribute "transit_number"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeRequestBody' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "payment_processor_authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeRequest' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeRequest' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "account_guid"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "member_guid"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "user_guid"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeResponseBody' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "payment_processor_authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeResponse' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorTokenResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorTokenResponseBody do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorTokenResponseBody.new }
22
+
23
+ describe 'test an instance of PaymentProcessorTokenResponseBody' do
24
+ it 'should create an instance of PaymentProcessorTokenResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorTokenResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "access_token"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "scope"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "token_type"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ 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.9.2
4
+ version: 0.11.0
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-04 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -131,6 +131,13 @@ files:
131
131
  - docs/OAuthWindowResponseBody.md
132
132
  - docs/OptionResponse.md
133
133
  - docs/PaginationResponse.md
134
+ - docs/PaymentAccountResponse.md
135
+ - docs/PaymentAccountResponseBody.md
136
+ - docs/PaymentProcessorAuthorizationCodeRequest.md
137
+ - docs/PaymentProcessorAuthorizationCodeRequestBody.md
138
+ - docs/PaymentProcessorAuthorizationCodeResponse.md
139
+ - docs/PaymentProcessorAuthorizationCodeResponseBody.md
140
+ - docs/PaymentProcessorTokenResponseBody.md
134
141
  - docs/StatementResponse.md
135
142
  - docs/StatementResponseBody.md
136
143
  - docs/StatementsResponseBody.md
@@ -244,6 +251,13 @@ files:
244
251
  - lib/mx-platform-ruby/models/o_auth_window_response_body.rb
245
252
  - lib/mx-platform-ruby/models/option_response.rb
246
253
  - lib/mx-platform-ruby/models/pagination_response.rb
254
+ - lib/mx-platform-ruby/models/payment_account_response.rb
255
+ - lib/mx-platform-ruby/models/payment_account_response_body.rb
256
+ - lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb
257
+ - lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb
258
+ - lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb
259
+ - lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb
260
+ - lib/mx-platform-ruby/models/payment_processor_token_response_body.rb
247
261
  - lib/mx-platform-ruby/models/statement_response.rb
248
262
  - lib/mx-platform-ruby/models/statement_response_body.rb
249
263
  - lib/mx-platform-ruby/models/statements_response_body.rb
@@ -360,6 +374,13 @@ files:
360
374
  - spec/models/o_auth_window_response_spec.rb
361
375
  - spec/models/option_response_spec.rb
362
376
  - spec/models/pagination_response_spec.rb
377
+ - spec/models/payment_account_response_body_spec.rb
378
+ - spec/models/payment_account_response_spec.rb
379
+ - spec/models/payment_processor_authorization_code_request_body_spec.rb
380
+ - spec/models/payment_processor_authorization_code_request_spec.rb
381
+ - spec/models/payment_processor_authorization_code_response_body_spec.rb
382
+ - spec/models/payment_processor_authorization_code_response_spec.rb
383
+ - spec/models/payment_processor_token_response_body_spec.rb
363
384
  - spec/models/statement_response_body_spec.rb
364
385
  - spec/models/statement_response_spec.rb
365
386
  - spec/models/statements_response_body_spec.rb
@@ -428,6 +449,7 @@ test_files:
428
449
  - spec/api/mx_platform_api_spec.rb
429
450
  - spec/api_client_spec.rb
430
451
  - spec/configuration_spec.rb
452
+ - spec/models/payment_processor_token_response_body_spec.rb
431
453
  - spec/models/category_update_request_spec.rb
432
454
  - spec/models/member_create_request_spec.rb
433
455
  - spec/models/category_response_body_spec.rb
@@ -448,6 +470,7 @@ test_files:
448
470
  - spec/models/connect_widget_response_spec.rb
449
471
  - spec/models/account_owners_response_body_spec.rb
450
472
  - spec/models/merchant_location_response_body_spec.rb
473
+ - spec/models/payment_processor_authorization_code_request_spec.rb
451
474
  - spec/models/transaction_rule_update_request_body_spec.rb
452
475
  - spec/models/institutions_response_body_spec.rb
453
476
  - spec/models/connect_widget_request_spec.rb
@@ -470,8 +493,10 @@ test_files:
470
493
  - spec/models/transaction_response_body_spec.rb
471
494
  - spec/models/member_status_response_body_spec.rb
472
495
  - spec/models/challenges_response_body_spec.rb
496
+ - spec/models/payment_processor_authorization_code_request_body_spec.rb
473
497
  - spec/models/tag_create_request_body_spec.rb
474
498
  - spec/models/account_update_request_spec.rb
499
+ - spec/models/payment_processor_authorization_code_response_spec.rb
475
500
  - spec/models/institution_response_spec.rb
476
501
  - spec/models/tag_update_request_body_spec.rb
477
502
  - spec/models/member_response_spec.rb
@@ -505,10 +530,12 @@ test_files:
505
530
  - spec/models/member_create_request_body_spec.rb
506
531
  - spec/models/accounts_response_body_spec.rb
507
532
  - spec/models/tags_response_body_spec.rb
533
+ - spec/models/payment_account_response_spec.rb
508
534
  - spec/models/member_resume_request_spec.rb
509
535
  - spec/models/managed_transaction_update_request_spec.rb
510
536
  - spec/models/pagination_response_spec.rb
511
537
  - spec/models/transaction_rule_response_spec.rb
538
+ - spec/models/payment_account_response_body_spec.rb
512
539
  - spec/models/merchant_response_body_spec.rb
513
540
  - spec/models/managed_member_update_request_body_spec.rb
514
541
  - spec/models/account_owner_response_spec.rb
@@ -533,6 +560,7 @@ test_files:
533
560
  - spec/models/member_update_request_body_spec.rb
534
561
  - spec/models/merchants_response_body_spec.rb
535
562
  - spec/models/transaction_rule_create_request_body_spec.rb
563
+ - spec/models/payment_processor_authorization_code_response_body_spec.rb
536
564
  - spec/models/holding_response_body_spec.rb
537
565
  - spec/models/holding_response_spec.rb
538
566
  - spec/models/transaction_update_request_body_spec.rb