mx-platform-ruby 0.8.4 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +7 -4
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +1 -1
- data/lib/mx-platform-ruby/api_client.rb +1 -1
- data/lib/mx-platform-ruby/api_error.rb +1 -1
- data/lib/mx-platform-ruby/configuration.rb +1 -1
- data/lib/mx-platform-ruby/models/account_number_response.rb +1 -1
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_owner_response.rb +1 -1
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_response.rb +1 -1
- data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_response.rb +1 -1
- data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/challenge_response.rb +1 -1
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_request.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_response.rb +1 -1
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/image_option_response.rb +1 -1
- data/lib/mx-platform-ruby/models/institution_response.rb +1 -1
- data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_response.rb +1 -1
- data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_response.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +1 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/option_response.rb +1 -1
- data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
- data/lib/mx-platform-ruby/models/statement_response.rb +1 -1
- data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_response.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_response.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_response.rb +1 -1
- data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/version.rb +2 -2
- data/lib/mx-platform-ruby.rb +1 -1
- data/mx-platform-ruby.gemspec +1 -1
- data/openapi/config.yml +1 -1
- data/openapi/templates/README.mustache +7 -4
- data/openapitools.json +1 -1
- data/spec/api/mx_platform_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_number_response_spec.rb +1 -1
- data/spec/models/account_numbers_response_body_spec.rb +1 -1
- data/spec/models/account_owner_response_spec.rb +1 -1
- data/spec/models/account_owners_response_body_spec.rb +1 -1
- data/spec/models/account_response_body_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -1
- data/spec/models/account_update_request_body_spec.rb +1 -1
- data/spec/models/account_update_request_spec.rb +1 -1
- data/spec/models/accounts_response_body_spec.rb +1 -1
- data/spec/models/categories_response_body_spec.rb +1 -1
- data/spec/models/category_create_request_body_spec.rb +1 -1
- data/spec/models/category_create_request_spec.rb +1 -1
- data/spec/models/category_response_body_spec.rb +1 -1
- data/spec/models/category_response_spec.rb +1 -1
- data/spec/models/category_update_request_body_spec.rb +1 -1
- data/spec/models/category_update_request_spec.rb +1 -1
- data/spec/models/challenge_response_spec.rb +1 -1
- data/spec/models/challenges_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_spec.rb +1 -1
- data/spec/models/connect_widget_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_response_spec.rb +1 -1
- data/spec/models/credential_request_spec.rb +1 -1
- data/spec/models/credential_response_spec.rb +1 -1
- data/spec/models/credentials_response_body_spec.rb +1 -1
- data/spec/models/enhance_transaction_response_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_spec.rb +1 -1
- data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
- data/spec/models/holding_response_body_spec.rb +1 -1
- data/spec/models/holding_response_spec.rb +1 -1
- data/spec/models/holdings_response_body_spec.rb +1 -1
- data/spec/models/image_option_response_spec.rb +1 -1
- data/spec/models/institution_response_body_spec.rb +1 -1
- data/spec/models/institution_response_spec.rb +1 -1
- data/spec/models/institutions_response_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_spec.rb +1 -1
- data/spec/models/managed_account_update_request_body_spec.rb +1 -1
- data/spec/models/managed_account_update_request_spec.rb +1 -1
- data/spec/models/managed_member_create_request_body_spec.rb +1 -1
- data/spec/models/managed_member_create_request_spec.rb +1 -1
- data/spec/models/managed_member_update_request_body_spec.rb +1 -1
- data/spec/models/managed_member_update_request_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_spec.rb +1 -1
- data/spec/models/member_create_request_body_spec.rb +1 -1
- data/spec/models/member_create_request_spec.rb +1 -1
- data/spec/models/member_response_body_spec.rb +1 -1
- data/spec/models/member_response_spec.rb +1 -1
- data/spec/models/member_resume_request_body_spec.rb +1 -1
- data/spec/models/member_resume_request_spec.rb +1 -1
- data/spec/models/member_status_response_body_spec.rb +1 -1
- data/spec/models/member_status_response_spec.rb +1 -1
- data/spec/models/member_update_request_body_spec.rb +1 -1
- data/spec/models/member_update_request_spec.rb +1 -1
- data/spec/models/members_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_spec.rb +1 -1
- data/spec/models/merchant_response_body_spec.rb +1 -1
- data/spec/models/merchant_response_spec.rb +1 -1
- data/spec/models/merchants_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_spec.rb +1 -1
- data/spec/models/option_response_spec.rb +1 -1
- data/spec/models/pagination_response_spec.rb +1 -1
- data/spec/models/statement_response_body_spec.rb +1 -1
- data/spec/models/statement_response_spec.rb +1 -1
- data/spec/models/statements_response_body_spec.rb +1 -1
- data/spec/models/tag_create_request_body_spec.rb +1 -1
- data/spec/models/tag_create_request_spec.rb +1 -1
- data/spec/models/tag_response_body_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/tag_update_request_body_spec.rb +1 -1
- data/spec/models/tag_update_request_spec.rb +1 -1
- data/spec/models/tagging_create_request_body_spec.rb +1 -1
- data/spec/models/tagging_create_request_spec.rb +1 -1
- data/spec/models/tagging_response_body_spec.rb +1 -1
- data/spec/models/tagging_response_spec.rb +1 -1
- data/spec/models/tagging_update_request_body_spec.rb +1 -1
- data/spec/models/tagging_update_request_spec.rb +1 -1
- data/spec/models/taggings_response_body_spec.rb +1 -1
- data/spec/models/tags_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_spec.rb +1 -1
- data/spec/models/transaction_rule_response_body_spec.rb +1 -1
- data/spec/models/transaction_rule_response_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_spec.rb +1 -1
- data/spec/models/transaction_rules_response_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_spec.rb +1 -1
- data/spec/models/transactions_response_body_spec.rb +1 -1
- data/spec/models/user_create_request_body_spec.rb +1 -1
- data/spec/models/user_create_request_spec.rb +1 -1
- data/spec/models/user_response_body_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/user_update_request_body_spec.rb +1 -1
- data/spec/models/user_update_request_spec.rb +1 -1
- data/spec/models/users_response_body_spec.rb +1 -1
- data/spec/models/widget_request_body_spec.rb +1 -1
- data/spec/models/widget_request_spec.rb +1 -1
- data/spec/models/widget_response_body_spec.rb +1 -1
- data/spec/models/widget_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +93 -93
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e43490da6e9e16efffaf15e7f7eb9b1fac25c60db7bb0668d38e1bacaeb7598
|
4
|
+
data.tar.gz: f10dd7ea221e449c174d4df19f6098fc8c33a95e095b1976f58f1d6a9ea520e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c5dbad07afb6a2182dba09f9a3232bcd072557d2ed7e6c72357eddf534d1410327bfbb6095cf1098515e8cda66901186ab35c383f831217442509b1ceecdd90
|
7
|
+
data.tar.gz: cedbdae89dcbaba8b3d7211510c7e2af16451b97f99077ec69df34d40d90326c42b8903a40cd60f4db3ec29a3499c0f9568291e9d93fd70a1d5cd756655f51fd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mx-platform-ruby (0.
|
4
|
+
mx-platform-ruby (0.9.1)
|
5
5
|
faraday (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -59,7 +59,7 @@ GEM
|
|
59
59
|
rspec-expectations (3.10.2)
|
60
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
61
61
|
rspec-support (~> 3.10.0)
|
62
|
-
rspec-mocks (3.10.
|
62
|
+
rspec-mocks (3.10.3)
|
63
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
64
64
|
rspec-support (~> 3.10.0)
|
65
65
|
rspec-support (3.10.3)
|
data/README.md
CHANGED
@@ -47,7 +47,10 @@ MxPlatformRuby.configure do |config|
|
|
47
47
|
config.server_index = 1
|
48
48
|
end
|
49
49
|
|
50
|
-
|
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!"
|
@@ -55,7 +58,7 @@ user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
|
|
55
58
|
)
|
56
59
|
|
57
60
|
begin
|
58
|
-
result =
|
61
|
+
result = mx_platform_api.create_user(user_create_request_body)
|
59
62
|
p result
|
60
63
|
rescue MxPlatformRuby::ApiError => e
|
61
64
|
puts "Error when calling MxPlatformApi->create_user: #{e}"
|
@@ -66,10 +69,10 @@ end
|
|
66
69
|
|
67
70
|
This project was generated by the [OpenAPI Generator](https://openapi-generator.tech). To generate this library, verify you have the latest version of the `openapi-generator-cli` found [here.](https://github.com/OpenAPITools/openapi-generator#17---npm)
|
68
71
|
|
69
|
-
Running the following command in this repo's directory will generate this library using the [MX Platform API OpenAPI spec](https://github.com/mxenabled/openapi/blob/master/openapi/
|
72
|
+
Running the following command in this repo's directory will generate this library using the [MX Platform API OpenAPI spec](https://github.com/mxenabled/openapi/blob/master/openapi/mx_platform_api.yml) with our [configuration and templates.](https://github.com/mxenabled/mx-platform-ruby/tree/master/openapi)
|
70
73
|
```shell
|
71
74
|
openapi-generator-cli generate \
|
72
|
-
-i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/
|
75
|
+
-i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/mx_platform_api.yml \
|
73
76
|
-g ruby \
|
74
77
|
-c ./openapi/config.yml \
|
75
78
|
-t ./openapi/templates
|