mx-platform-ruby 0.44.0 → 0.44.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 +3 -1
- data/lib/mx-platform-ruby/api/budgets_api.rb +6 -6
- data/lib/mx-platform-ruby/api/goals_api.rb +6 -6
- data/lib/mx-platform-ruby/api/insights_api.rb +10 -10
- data/lib/mx-platform-ruby/api/microdeposits_api.rb +5 -5
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +97 -97
- data/lib/mx-platform-ruby/api/spending_plan_api.rb +12 -12
- data/lib/mx-platform-ruby/api/transactions_api.rb +2 -2
- data/lib/mx-platform-ruby/api_client.rb +50 -41
- data/lib/mx-platform-ruby/api_error.rb +1 -1
- data/lib/mx-platform-ruby/configuration.rb +12 -1
- data/lib/mx-platform-ruby/models/account_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/account_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_number_response.rb +2 -2
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_owner_response.rb +2 -2
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_request.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_response.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_response.rb +2 -2
- data/lib/mx-platform-ruby/models/category_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/credential_request.rb +2 -2
- data/lib/mx-platform-ruby/models/credential_response.rb +2 -2
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/credit_card_product.rb +2 -2
- data/lib/mx-platform-ruby/models/credit_card_product_response.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_request.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_response.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goals_response.rb +2 -2
- data/lib/mx-platform-ruby/models/goals_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/holding_response.rb +2 -2
- data/lib/mx-platform-ruby/models/holding_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/image_option_response.rb +2 -2
- data/lib/mx-platform-ruby/models/insight_response.rb +2 -2
- data/lib/mx-platform-ruby/models/insight_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/insight_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/insights_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/institution_response.rb +2 -2
- data/lib/mx-platform-ruby/models/institution_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_response.rb +2 -2
- data/lib/mx-platform-ruby/models/member_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_resume_request.rb +2 -2
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_status_response.rb +2 -2
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_response.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_request.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_response.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_verify_request.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposit_verify_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposits_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_response.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -2
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/option_response.rb +2 -2
- data/lib/mx-platform-ruby/models/pagination_response.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/reposition_request.rb +2 -2
- data/lib/mx-platform-ruby/models/reposition_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/reposition_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/reward_response.rb +2 -2
- data/lib/mx-platform-ruby/models/reward_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/rewards_response.rb +2 -2
- data/lib/mx-platform-ruby/models/rewards_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +2 -2
- data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_account_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_accounts_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_items_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iterations_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plans_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transaction_request.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transaction_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/statement_response.rb +2 -2
- data/lib/mx-platform-ruby/models/statement_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/statements_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_response.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_response.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tags_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tax_document_response.rb +2 -2
- data/lib/mx-platform-ruby/models/tax_document_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tax_documents_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_create_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_response.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/update_goal_request.rb +2 -2
- data/lib/mx-platform-ruby/models/update_goal_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_response.rb +2 -2
- data/lib/mx-platform-ruby/models/user_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/users_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_request.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/version.rb +2 -2
- data/lib/mx-platform-ruby.rb +1 -1
- data/mx-platform-ruby.gemspec +3 -1
- data/openapi/config.yml +1 -1
- data/openapitools.json +1 -1
- data/spec/api/budgets_api_spec.rb +1 -1
- data/spec/api/goals_api_spec.rb +1 -1
- data/spec/api/insights_api_spec.rb +1 -1
- data/spec/api/microdeposits_api_spec.rb +1 -1
- data/spec/api/mx_platform_api_spec.rb +1 -1
- data/spec/api/spending_plan_api_spec.rb +1 -1
- data/spec/api/transactions_api_spec.rb +1 -1
- data/spec/models/account_create_request_body_spec.rb +4 -2
- data/spec/models/account_create_request_spec.rb +4 -2
- data/spec/models/account_number_response_spec.rb +4 -2
- data/spec/models/account_numbers_response_body_spec.rb +4 -2
- data/spec/models/account_owner_response_spec.rb +4 -2
- data/spec/models/account_owners_response_body_spec.rb +4 -2
- data/spec/models/account_response_body_spec.rb +4 -2
- data/spec/models/account_response_spec.rb +4 -2
- data/spec/models/account_update_request_body_spec.rb +4 -2
- data/spec/models/account_update_request_spec.rb +4 -2
- data/spec/models/accounts_response_body_spec.rb +4 -2
- data/spec/models/authorization_code_request_body_spec.rb +4 -2
- data/spec/models/authorization_code_request_spec.rb +4 -2
- data/spec/models/authorization_code_response_body_spec.rb +4 -2
- data/spec/models/authorization_code_response_spec.rb +4 -2
- data/spec/models/budget_create_request_body_spec.rb +4 -2
- data/spec/models/budget_create_request_spec.rb +4 -2
- data/spec/models/budget_response_body_spec.rb +4 -2
- data/spec/models/budget_response_spec.rb +4 -2
- data/spec/models/budget_update_request_body_spec.rb +4 -2
- data/spec/models/budget_update_request_spec.rb +4 -2
- data/spec/models/categories_response_body_spec.rb +4 -2
- data/spec/models/category_create_request_body_spec.rb +4 -2
- data/spec/models/category_create_request_spec.rb +4 -2
- data/spec/models/category_response_body_spec.rb +4 -2
- data/spec/models/category_response_spec.rb +4 -2
- data/spec/models/category_update_request_body_spec.rb +4 -2
- data/spec/models/category_update_request_spec.rb +4 -2
- data/spec/models/challenge_response_spec.rb +4 -2
- data/spec/models/challenges_response_body_spec.rb +4 -2
- data/spec/models/connect_widget_request_body_spec.rb +4 -2
- data/spec/models/connect_widget_request_spec.rb +4 -2
- data/spec/models/connect_widget_response_body_spec.rb +4 -2
- data/spec/models/connect_widget_response_spec.rb +4 -2
- data/spec/models/credential_request_spec.rb +4 -2
- data/spec/models/credential_response_spec.rb +4 -2
- data/spec/models/credentials_response_body_spec.rb +4 -2
- data/spec/models/credit_card_product_response_spec.rb +4 -2
- data/spec/models/credit_card_product_spec.rb +4 -2
- data/spec/models/enhance_transaction_response_spec.rb +4 -2
- data/spec/models/enhance_transactions_request_body_spec.rb +4 -2
- data/spec/models/enhance_transactions_request_spec.rb +4 -2
- data/spec/models/enhance_transactions_response_body_spec.rb +4 -2
- data/spec/models/goal_request_body_spec.rb +4 -2
- data/spec/models/goal_request_spec.rb +4 -2
- data/spec/models/goal_response_body_spec.rb +4 -2
- data/spec/models/goal_response_spec.rb +4 -2
- data/spec/models/goals_response_body_spec.rb +4 -2
- data/spec/models/goals_response_spec.rb +4 -2
- data/spec/models/holding_response_body_spec.rb +4 -2
- data/spec/models/holding_response_spec.rb +4 -2
- data/spec/models/holdings_response_body_spec.rb +4 -2
- data/spec/models/image_option_response_spec.rb +4 -2
- data/spec/models/insight_response_body_spec.rb +4 -2
- data/spec/models/insight_response_spec.rb +4 -2
- data/spec/models/insight_update_request_spec.rb +4 -2
- data/spec/models/insights_response_body_spec.rb +4 -2
- data/spec/models/institution_response_body_spec.rb +4 -2
- data/spec/models/institution_response_spec.rb +4 -2
- data/spec/models/institutions_response_body_spec.rb +4 -2
- data/spec/models/managed_account_create_request_body_spec.rb +4 -2
- data/spec/models/managed_account_create_request_spec.rb +4 -2
- data/spec/models/managed_account_update_request_body_spec.rb +4 -2
- data/spec/models/managed_account_update_request_spec.rb +4 -2
- data/spec/models/managed_member_create_request_body_spec.rb +4 -2
- data/spec/models/managed_member_create_request_spec.rb +4 -2
- data/spec/models/managed_member_update_request_body_spec.rb +4 -2
- data/spec/models/managed_member_update_request_spec.rb +4 -2
- data/spec/models/managed_transaction_create_request_body_spec.rb +4 -2
- data/spec/models/managed_transaction_create_request_spec.rb +4 -2
- data/spec/models/managed_transaction_update_request_body_spec.rb +4 -2
- data/spec/models/managed_transaction_update_request_spec.rb +4 -2
- data/spec/models/member_create_request_body_spec.rb +4 -2
- data/spec/models/member_create_request_spec.rb +4 -2
- data/spec/models/member_response_body_spec.rb +4 -2
- data/spec/models/member_response_spec.rb +4 -2
- data/spec/models/member_resume_request_body_spec.rb +4 -2
- data/spec/models/member_resume_request_spec.rb +4 -2
- data/spec/models/member_status_response_body_spec.rb +4 -2
- data/spec/models/member_status_response_spec.rb +4 -2
- data/spec/models/member_update_request_body_spec.rb +4 -2
- data/spec/models/member_update_request_spec.rb +4 -2
- data/spec/models/members_response_body_spec.rb +4 -2
- data/spec/models/merchant_location_response_body_spec.rb +4 -2
- data/spec/models/merchant_location_response_spec.rb +4 -2
- data/spec/models/merchant_response_body_spec.rb +4 -2
- data/spec/models/merchant_response_spec.rb +4 -2
- data/spec/models/merchants_response_body_spec.rb +4 -2
- data/spec/models/microdeposit_request_body_spec.rb +4 -2
- data/spec/models/microdeposit_request_spec.rb +4 -2
- data/spec/models/microdeposit_response_body_spec.rb +4 -2
- data/spec/models/microdeposit_response_spec.rb +4 -2
- data/spec/models/microdeposit_verify_request_body_spec.rb +4 -2
- data/spec/models/microdeposit_verify_request_spec.rb +4 -2
- data/spec/models/microdeposits_response_body_spec.rb +4 -2
- data/spec/models/monthly_cash_flow_profile_request_body_spec.rb +4 -2
- data/spec/models/monthly_cash_flow_profile_request_spec.rb +4 -2
- data/spec/models/monthly_cash_flow_response_body_spec.rb +4 -2
- data/spec/models/monthly_cash_flow_response_spec.rb +4 -2
- data/spec/models/o_auth_window_response_body_spec.rb +4 -2
- data/spec/models/o_auth_window_response_spec.rb +4 -2
- data/spec/models/option_response_spec.rb +4 -2
- data/spec/models/pagination_response_spec.rb +4 -2
- data/spec/models/payment_processor_authorization_code_request_body_spec.rb +4 -2
- data/spec/models/payment_processor_authorization_code_request_spec.rb +4 -2
- data/spec/models/payment_processor_authorization_code_response_body_spec.rb +4 -2
- data/spec/models/payment_processor_authorization_code_response_spec.rb +4 -2
- data/spec/models/reposition_request_body_spec.rb +4 -2
- data/spec/models/reposition_request_spec.rb +4 -2
- data/spec/models/reposition_response_body_spec.rb +4 -2
- data/spec/models/reward_response_body_spec.rb +4 -2
- data/spec/models/reward_response_spec.rb +4 -2
- data/spec/models/rewards_response_body_spec.rb +4 -2
- data/spec/models/rewards_response_spec.rb +4 -2
- data/spec/models/scheduled_payment_response_spec.rb +4 -2
- data/spec/models/scheduled_payments_response_body_spec.rb +4 -2
- data/spec/models/spending_plan_account_response_spec.rb +4 -2
- data/spec/models/spending_plan_accounts_response_spec.rb +4 -2
- data/spec/models/spending_plan_iteration_item_create_request_body_spec.rb +4 -2
- data/spec/models/spending_plan_iteration_item_response_spec.rb +4 -2
- data/spec/models/spending_plan_iteration_items_response_body_spec.rb +4 -2
- data/spec/models/spending_plan_iteration_response_spec.rb +4 -2
- data/spec/models/spending_plan_iterations_response_spec.rb +4 -2
- data/spec/models/spending_plan_response_spec.rb +4 -2
- data/spec/models/spending_plans_response_body_spec.rb +4 -2
- data/spec/models/split_transaction_request_body_spec.rb +4 -2
- data/spec/models/split_transaction_request_spec.rb +4 -2
- data/spec/models/split_transactions_response_body_spec.rb +4 -2
- data/spec/models/statement_response_body_spec.rb +4 -2
- data/spec/models/statement_response_spec.rb +4 -2
- data/spec/models/statements_response_body_spec.rb +4 -2
- data/spec/models/tag_create_request_body_spec.rb +4 -2
- data/spec/models/tag_create_request_spec.rb +4 -2
- data/spec/models/tag_response_body_spec.rb +4 -2
- data/spec/models/tag_response_spec.rb +4 -2
- data/spec/models/tag_update_request_body_spec.rb +4 -2
- data/spec/models/tag_update_request_spec.rb +4 -2
- data/spec/models/tagging_create_request_body_spec.rb +4 -2
- data/spec/models/tagging_create_request_spec.rb +4 -2
- data/spec/models/tagging_response_body_spec.rb +4 -2
- data/spec/models/tagging_response_spec.rb +4 -2
- data/spec/models/tagging_update_request_body_spec.rb +4 -2
- data/spec/models/tagging_update_request_spec.rb +4 -2
- data/spec/models/taggings_response_body_spec.rb +4 -2
- data/spec/models/tags_response_body_spec.rb +4 -2
- data/spec/models/tax_document_response_body_spec.rb +4 -2
- data/spec/models/tax_document_response_spec.rb +4 -2
- data/spec/models/tax_documents_response_body_spec.rb +4 -2
- data/spec/models/transaction_create_request_body_spec.rb +4 -2
- data/spec/models/transaction_create_request_spec.rb +4 -2
- data/spec/models/transaction_create_response_body_spec.rb +4 -2
- data/spec/models/transaction_response_body_spec.rb +4 -2
- data/spec/models/transaction_response_spec.rb +4 -2
- data/spec/models/transaction_rule_create_request_body_spec.rb +4 -2
- data/spec/models/transaction_rule_create_request_spec.rb +4 -2
- data/spec/models/transaction_rule_response_body_spec.rb +4 -2
- data/spec/models/transaction_rule_response_spec.rb +4 -2
- data/spec/models/transaction_rule_update_request_body_spec.rb +4 -2
- data/spec/models/transaction_rule_update_request_spec.rb +4 -2
- data/spec/models/transaction_rules_response_body_spec.rb +4 -2
- data/spec/models/transaction_update_request_body_spec.rb +4 -2
- data/spec/models/transaction_update_request_spec.rb +4 -2
- data/spec/models/transactions_response_body_spec.rb +4 -2
- data/spec/models/update_goal_request_body_spec.rb +4 -2
- data/spec/models/update_goal_request_spec.rb +4 -2
- data/spec/models/user_create_request_body_spec.rb +4 -2
- data/spec/models/user_create_request_spec.rb +4 -2
- data/spec/models/user_response_body_spec.rb +4 -2
- data/spec/models/user_response_spec.rb +4 -2
- data/spec/models/user_update_request_body_spec.rb +4 -2
- data/spec/models/user_update_request_spec.rb +4 -2
- data/spec/models/users_response_body_spec.rb +4 -2
- data/spec/models/widget_request_body_spec.rb +4 -2
- data/spec/models/widget_request_spec.rb +4 -2
- data/spec/models/widget_response_body_spec.rb +4 -2
- data/spec/models/widget_response_spec.rb +4 -2
- data/spec/spec_helper.rb +1 -1
- metadata +173 -163
- data/spec/api_client_spec.rb +0 -223
- data/spec/configuration_spec.rb +0 -82
data/spec/configuration_spec.rb
DELETED
@@ -1,82 +0,0 @@
|
|
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: 7.0.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
|
15
|
-
describe MxPlatformRuby::Configuration do
|
16
|
-
let(:config) { MxPlatformRuby::Configuration.default }
|
17
|
-
|
18
|
-
before(:each) do
|
19
|
-
# uncomment below to setup host and base_path
|
20
|
-
# require 'URI'
|
21
|
-
# uri = URI.parse("https://api.mx.com")
|
22
|
-
# MxPlatformRuby.configure do |c|
|
23
|
-
# c.host = uri.host
|
24
|
-
# c.base_path = uri.path
|
25
|
-
# end
|
26
|
-
end
|
27
|
-
|
28
|
-
describe '#base_url' do
|
29
|
-
it 'should have the default value' do
|
30
|
-
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("https://api.mx.com")
|
32
|
-
end
|
33
|
-
|
34
|
-
it 'should remove trailing slashes' do
|
35
|
-
[nil, '', '/', '//'].each do |base_path|
|
36
|
-
config.base_path = base_path
|
37
|
-
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("https://api.mx.com")
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe '#configure_faraday_connection' do
|
44
|
-
let(:faraday_connection) { Faraday::Connection.new }
|
45
|
-
|
46
|
-
before do
|
47
|
-
stub_const('CustomAdapter', Class.new(Faraday::Adapter))
|
48
|
-
stub_const('AnotherCustomAdapter', Class.new(Faraday::Adapter))
|
49
|
-
|
50
|
-
config.configure_faraday_connection do |conn|
|
51
|
-
conn.adapter CustomAdapter
|
52
|
-
conn.response :logger, nil, headers: true, bodies: true, log_level: :debug do |logger|
|
53
|
-
logger.filter(/(Authorization: )(.*)/, '\1[REDACTED]')
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
it 'adds a block that will be used to configure the connection' do
|
59
|
-
expect(faraday_connection.adapter).to eq(Faraday::Adapter::NetHttp)
|
60
|
-
expect(faraday_connection.builder.handlers).to_not include(Faraday::Response::Logger)
|
61
|
-
|
62
|
-
config.configure_connection(faraday_connection)
|
63
|
-
|
64
|
-
expect(faraday_connection.adapter).to eq(CustomAdapter)
|
65
|
-
expect(faraday_connection.builder.handlers).to include(Faraday::Response::Logger)
|
66
|
-
end
|
67
|
-
|
68
|
-
it 'supports multiple configuration blocks' do
|
69
|
-
config.configure_faraday_connection do |conn|
|
70
|
-
conn.adapter AnotherCustomAdapter
|
71
|
-
end
|
72
|
-
|
73
|
-
expect(faraday_connection.adapter).to eq(Faraday::Adapter::NetHttp)
|
74
|
-
expect(faraday_connection.builder.handlers).to_not include(Faraday::Response::Logger)
|
75
|
-
|
76
|
-
config.configure_connection(faraday_connection)
|
77
|
-
|
78
|
-
expect(faraday_connection.adapter).to eq(AnotherCustomAdapter)
|
79
|
-
expect(faraday_connection.builder.handlers).to include(Faraday::Response::Logger)
|
80
|
-
end
|
81
|
-
end
|
82
|
-
end
|