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
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.44.
|
4
|
+
version: 0.44.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: marcel
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: rspec
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -458,8 +472,6 @@ files:
|
|
458
472
|
- spec/api/mx_platform_api_spec.rb
|
459
473
|
- spec/api/spending_plan_api_spec.rb
|
460
474
|
- spec/api/transactions_api_spec.rb
|
461
|
-
- spec/api_client_spec.rb
|
462
|
-
- spec/configuration_spec.rb
|
463
475
|
- spec/models/account_create_request_body_spec.rb
|
464
476
|
- spec/models/account_create_request_spec.rb
|
465
477
|
- spec/models/account_number_response_spec.rb
|
@@ -661,189 +673,187 @@ signing_key:
|
|
661
673
|
specification_version: 4
|
662
674
|
summary: MX Platform API Ruby Gem
|
663
675
|
test_files:
|
664
|
-
- spec/api/goals_api_spec.rb
|
665
676
|
- spec/api/spending_plan_api_spec.rb
|
666
|
-
- spec/api/microdeposits_api_spec.rb
|
667
|
-
- spec/api/insights_api_spec.rb
|
668
677
|
- spec/api/budgets_api_spec.rb
|
678
|
+
- spec/api/insights_api_spec.rb
|
669
679
|
- spec/api/mx_platform_api_spec.rb
|
680
|
+
- spec/api/goals_api_spec.rb
|
681
|
+
- spec/api/microdeposits_api_spec.rb
|
670
682
|
- spec/api/transactions_api_spec.rb
|
671
|
-
- spec/
|
672
|
-
- spec/
|
673
|
-
- spec/models/
|
674
|
-
- spec/models/
|
675
|
-
- spec/models/
|
676
|
-
- spec/models/
|
677
|
-
- spec/models/managed_transaction_update_request_body_spec.rb
|
678
|
-
- spec/models/tagging_response_spec.rb
|
679
|
-
- spec/models/microdeposit_response_spec.rb
|
680
|
-
- spec/models/budget_update_request_spec.rb
|
681
|
-
- spec/models/account_owners_response_body_spec.rb
|
682
|
-
- spec/models/spending_plan_iteration_item_create_request_body_spec.rb
|
683
|
-
- spec/models/user_create_request_body_spec.rb
|
684
|
-
- spec/models/member_response_spec.rb
|
685
|
-
- spec/models/budget_response_spec.rb
|
686
|
-
- spec/models/managed_account_create_request_spec.rb
|
687
|
-
- spec/models/account_number_response_spec.rb
|
688
|
-
- spec/models/account_response_body_spec.rb
|
689
|
-
- spec/models/reposition_request_spec.rb
|
690
|
-
- spec/models/managed_member_update_request_spec.rb
|
691
|
-
- spec/models/managed_transaction_create_request_body_spec.rb
|
683
|
+
- spec/models/category_response_spec.rb
|
684
|
+
- spec/models/enhance_transactions_request_spec.rb
|
685
|
+
- spec/models/managed_account_update_request_body_spec.rb
|
686
|
+
- spec/models/merchant_response_spec.rb
|
687
|
+
- spec/models/widget_response_spec.rb
|
688
|
+
- spec/models/holdings_response_body_spec.rb
|
692
689
|
- spec/models/institution_response_spec.rb
|
693
|
-
- spec/models/
|
694
|
-
- spec/models/
|
695
|
-
- spec/models/
|
696
|
-
- spec/models/
|
697
|
-
- spec/models/
|
698
|
-
- spec/models/category_create_request_body_spec.rb
|
699
|
-
- spec/models/spending_plan_iteration_items_response_body_spec.rb
|
700
|
-
- spec/models/account_update_request_spec.rb
|
701
|
-
- spec/models/category_response_body_spec.rb
|
702
|
-
- spec/models/account_owner_response_spec.rb
|
703
|
-
- spec/models/rewards_response_body_spec.rb
|
704
|
-
- spec/models/connect_widget_request_spec.rb
|
705
|
-
- spec/models/tags_response_body_spec.rb
|
706
|
-
- spec/models/managed_member_update_request_body_spec.rb
|
707
|
-
- spec/models/goal_response_spec.rb
|
690
|
+
- spec/models/tagging_response_body_spec.rb
|
691
|
+
- spec/models/managed_member_create_request_spec.rb
|
692
|
+
- spec/models/microdeposit_verify_request_spec.rb
|
693
|
+
- spec/models/scheduled_payments_response_body_spec.rb
|
694
|
+
- spec/models/budget_update_request_spec.rb
|
708
695
|
- spec/models/challenge_response_spec.rb
|
709
|
-
- spec/models/
|
710
|
-
- spec/models/goal_request_body_spec.rb
|
711
|
-
- spec/models/microdeposit_verify_request_body_spec.rb
|
712
|
-
- spec/models/managed_member_create_request_body_spec.rb
|
713
|
-
- spec/models/spending_plan_accounts_response_spec.rb
|
714
|
-
- spec/models/connect_widget_request_body_spec.rb
|
715
|
-
- spec/models/payment_processor_authorization_code_request_body_spec.rb
|
716
|
-
- spec/models/budget_update_request_body_spec.rb
|
717
|
-
- spec/models/enhance_transactions_request_body_spec.rb
|
718
|
-
- spec/models/insight_response_spec.rb
|
719
|
-
- spec/models/members_response_body_spec.rb
|
720
|
-
- spec/models/transaction_rule_response_spec.rb
|
721
|
-
- spec/models/tag_create_request_spec.rb
|
722
|
-
- spec/models/budget_response_body_spec.rb
|
723
|
-
- spec/models/merchants_response_body_spec.rb
|
724
|
-
- spec/models/enhance_transaction_response_spec.rb
|
725
|
-
- spec/models/institution_response_body_spec.rb
|
726
|
-
- spec/models/managed_transaction_update_request_spec.rb
|
727
|
-
- spec/models/user_update_request_spec.rb
|
728
|
-
- spec/models/spending_plan_response_spec.rb
|
729
|
-
- spec/models/transaction_rule_update_request_spec.rb
|
730
|
-
- spec/models/widget_response_spec.rb
|
731
|
-
- spec/models/widget_request_spec.rb
|
732
|
-
- spec/models/authorization_code_response_spec.rb
|
733
|
-
- spec/models/enhance_transactions_request_spec.rb
|
696
|
+
- spec/models/spending_plans_response_body_spec.rb
|
734
697
|
- spec/models/tag_create_request_body_spec.rb
|
735
|
-
- spec/models/monthly_cash_flow_profile_request_body_spec.rb
|
736
|
-
- spec/models/rewards_response_spec.rb
|
737
|
-
- spec/models/reward_response_spec.rb
|
738
|
-
- spec/models/tagging_update_request_body_spec.rb
|
739
|
-
- spec/models/taggings_response_body_spec.rb
|
740
|
-
- spec/models/payment_processor_authorization_code_request_spec.rb
|
741
|
-
- spec/models/challenges_response_body_spec.rb
|
742
|
-
- spec/models/tax_document_response_spec.rb
|
743
|
-
- spec/models/insights_response_body_spec.rb
|
744
|
-
- spec/models/microdeposit_request_body_spec.rb
|
745
|
-
- spec/models/transaction_rule_create_request_body_spec.rb
|
746
|
-
- spec/models/goal_request_spec.rb
|
747
|
-
- spec/models/update_goal_request_body_spec.rb
|
748
|
-
- spec/models/account_create_request_body_spec.rb
|
749
|
-
- spec/models/payment_processor_authorization_code_response_body_spec.rb
|
750
|
-
- spec/models/tag_response_spec.rb
|
751
|
-
- spec/models/tagging_update_request_spec.rb
|
752
|
-
- spec/models/split_transaction_request_spec.rb
|
753
|
-
- spec/models/pagination_response_spec.rb
|
754
|
-
- spec/models/tax_documents_response_body_spec.rb
|
755
|
-
- spec/models/scheduled_payment_response_spec.rb
|
756
|
-
- spec/models/credentials_response_body_spec.rb
|
757
|
-
- spec/models/member_update_request_body_spec.rb
|
758
|
-
- spec/models/credit_card_product_spec.rb
|
759
|
-
- spec/models/merchant_location_response_spec.rb
|
760
|
-
- spec/models/merchant_response_spec.rb
|
761
|
-
- spec/models/transaction_rule_update_request_body_spec.rb
|
762
|
-
- spec/models/account_response_spec.rb
|
763
|
-
- spec/models/merchant_response_body_spec.rb
|
764
|
-
- spec/models/category_update_request_spec.rb
|
765
|
-
- spec/models/member_status_response_body_spec.rb
|
766
|
-
- spec/models/user_response_body_spec.rb
|
767
698
|
- spec/models/credential_response_spec.rb
|
768
|
-
- spec/models/
|
769
|
-
- spec/models/tagging_response_body_spec.rb
|
770
|
-
- spec/models/tag_update_request_spec.rb
|
771
|
-
- spec/models/monthly_cash_flow_profile_request_spec.rb
|
772
|
-
- spec/models/credential_request_spec.rb
|
773
|
-
- spec/models/transaction_response_body_spec.rb
|
774
|
-
- spec/models/user_response_spec.rb
|
775
|
-
- spec/models/authorization_code_request_body_spec.rb
|
776
|
-
- spec/models/transaction_rule_response_body_spec.rb
|
777
|
-
- spec/models/budget_create_request_spec.rb
|
699
|
+
- spec/models/connect_widget_response_body_spec.rb
|
778
700
|
- spec/models/o_auth_window_response_body_spec.rb
|
779
|
-
- spec/models/
|
780
|
-
- spec/models/
|
781
|
-
- spec/models/
|
782
|
-
- spec/models/
|
783
|
-
- spec/models/update_goal_request_spec.rb
|
701
|
+
- spec/models/tag_response_body_spec.rb
|
702
|
+
- spec/models/user_update_request_spec.rb
|
703
|
+
- spec/models/tag_response_spec.rb
|
704
|
+
- spec/models/transaction_update_request_body_spec.rb
|
784
705
|
- spec/models/transaction_create_request_spec.rb
|
706
|
+
- spec/models/spending_plan_account_response_spec.rb
|
707
|
+
- spec/models/reposition_request_body_spec.rb
|
708
|
+
- spec/models/reward_response_spec.rb
|
785
709
|
- spec/models/users_response_body_spec.rb
|
786
|
-
- spec/models/
|
710
|
+
- spec/models/user_response_body_spec.rb
|
787
711
|
- spec/models/widget_response_body_spec.rb
|
788
|
-
- spec/models/
|
789
|
-
- spec/models/member_response_body_spec.rb
|
712
|
+
- spec/models/credential_request_spec.rb
|
790
713
|
- spec/models/tax_document_response_body_spec.rb
|
791
|
-
- spec/models/
|
792
|
-
- spec/models/
|
793
|
-
- spec/models/
|
794
|
-
- spec/models/
|
714
|
+
- spec/models/reposition_response_body_spec.rb
|
715
|
+
- spec/models/transaction_rules_response_body_spec.rb
|
716
|
+
- spec/models/rewards_response_spec.rb
|
717
|
+
- spec/models/transaction_rule_update_request_body_spec.rb
|
718
|
+
- spec/models/goal_response_spec.rb
|
719
|
+
- spec/models/tags_response_body_spec.rb
|
720
|
+
- spec/models/managed_transaction_update_request_body_spec.rb
|
721
|
+
- spec/models/tagging_update_request_body_spec.rb
|
722
|
+
- spec/models/budget_update_request_body_spec.rb
|
723
|
+
- spec/models/connect_widget_request_spec.rb
|
724
|
+
- spec/models/user_create_request_body_spec.rb
|
795
725
|
- spec/models/spending_plan_iterations_response_spec.rb
|
796
|
-
- spec/models/
|
726
|
+
- spec/models/credentials_response_body_spec.rb
|
727
|
+
- spec/models/transaction_rule_response_body_spec.rb
|
728
|
+
- spec/models/managed_member_create_request_body_spec.rb
|
729
|
+
- spec/models/transaction_create_request_body_spec.rb
|
730
|
+
- spec/models/tagging_update_request_spec.rb
|
731
|
+
- spec/models/update_goal_request_spec.rb
|
732
|
+
- spec/models/tag_update_request_body_spec.rb
|
797
733
|
- spec/models/managed_account_update_request_spec.rb
|
798
|
-
- spec/models/
|
799
|
-
- spec/models/
|
800
|
-
- spec/models/
|
801
|
-
- spec/models/authorization_code_response_body_spec.rb
|
734
|
+
- spec/models/microdeposit_request_body_spec.rb
|
735
|
+
- spec/models/authorization_code_request_spec.rb
|
736
|
+
- spec/models/payment_processor_authorization_code_response_spec.rb
|
802
737
|
- spec/models/account_create_request_spec.rb
|
803
|
-
- spec/models/
|
804
|
-
- spec/models/split_transaction_request_body_spec.rb
|
805
|
-
- spec/models/spending_plan_account_response_spec.rb
|
806
|
-
- spec/models/category_create_request_spec.rb
|
807
|
-
- spec/models/spending_plans_response_body_spec.rb
|
808
|
-
- spec/models/member_status_response_spec.rb
|
738
|
+
- spec/models/transaction_rule_response_spec.rb
|
809
739
|
- spec/models/statements_response_body_spec.rb
|
810
|
-
- spec/models/
|
811
|
-
- spec/models/
|
812
|
-
- spec/models/
|
813
|
-
- spec/models/
|
740
|
+
- spec/models/scheduled_payment_response_spec.rb
|
741
|
+
- spec/models/credit_card_product_response_spec.rb
|
742
|
+
- spec/models/account_numbers_response_body_spec.rb
|
743
|
+
- spec/models/budget_response_body_spec.rb
|
744
|
+
- spec/models/managed_transaction_create_request_body_spec.rb
|
745
|
+
- spec/models/holding_response_spec.rb
|
746
|
+
- spec/models/goal_request_body_spec.rb
|
747
|
+
- spec/models/enhance_transaction_response_spec.rb
|
748
|
+
- spec/models/enhance_transactions_response_body_spec.rb
|
749
|
+
- spec/models/credit_card_product_spec.rb
|
750
|
+
- spec/models/pagination_response_spec.rb
|
751
|
+
- spec/models/account_update_request_spec.rb
|
752
|
+
- spec/models/goal_response_body_spec.rb
|
753
|
+
- spec/models/transaction_rule_create_request_spec.rb
|
754
|
+
- spec/models/managed_member_update_request_body_spec.rb
|
755
|
+
- spec/models/managed_transaction_create_request_spec.rb
|
756
|
+
- spec/models/member_status_response_spec.rb
|
757
|
+
- spec/models/category_update_request_body_spec.rb
|
758
|
+
- spec/models/user_update_request_body_spec.rb
|
759
|
+
- spec/models/tagging_create_request_body_spec.rb
|
814
760
|
- spec/models/member_create_request_spec.rb
|
815
|
-
- spec/models/
|
761
|
+
- spec/models/enhance_transactions_request_body_spec.rb
|
762
|
+
- spec/models/spending_plan_iteration_item_create_request_body_spec.rb
|
763
|
+
- spec/models/widget_request_body_spec.rb
|
764
|
+
- spec/models/image_option_response_spec.rb
|
816
765
|
- spec/models/spending_plan_iteration_item_response_spec.rb
|
817
|
-
- spec/models/
|
818
|
-
- spec/models/
|
766
|
+
- spec/models/rewards_response_body_spec.rb
|
767
|
+
- spec/models/monthly_cash_flow_profile_request_body_spec.rb
|
768
|
+
- spec/models/managed_account_create_request_body_spec.rb
|
769
|
+
- spec/models/authorization_code_response_spec.rb
|
770
|
+
- spec/models/microdeposits_response_body_spec.rb
|
771
|
+
- spec/models/transaction_rule_update_request_spec.rb
|
772
|
+
- spec/models/monthly_cash_flow_response_spec.rb
|
773
|
+
- spec/models/challenges_response_body_spec.rb
|
774
|
+
- spec/models/spending_plan_accounts_response_spec.rb
|
775
|
+
- spec/models/insight_update_request_spec.rb
|
819
776
|
- spec/models/o_auth_window_response_spec.rb
|
820
|
-
- spec/models/
|
821
|
-
- spec/models/
|
822
|
-
- spec/models/
|
823
|
-
- spec/models/
|
824
|
-
- spec/models/
|
825
|
-
- spec/models/
|
826
|
-
- spec/models/categories_response_body_spec.rb
|
827
|
-
- spec/models/statement_response_spec.rb
|
777
|
+
- spec/models/microdeposit_verify_request_body_spec.rb
|
778
|
+
- spec/models/account_response_body_spec.rb
|
779
|
+
- spec/models/split_transaction_request_spec.rb
|
780
|
+
- spec/models/transaction_response_spec.rb
|
781
|
+
- spec/models/widget_request_spec.rb
|
782
|
+
- spec/models/tag_create_request_spec.rb
|
828
783
|
- spec/models/member_update_request_spec.rb
|
829
|
-
- spec/models/
|
830
|
-
- spec/models/
|
784
|
+
- spec/models/category_create_request_spec.rb
|
785
|
+
- spec/models/goals_response_spec.rb
|
786
|
+
- spec/models/institutions_response_body_spec.rb
|
787
|
+
- spec/models/institution_response_body_spec.rb
|
788
|
+
- spec/models/account_update_request_body_spec.rb
|
789
|
+
- spec/models/transaction_update_request_spec.rb
|
790
|
+
- spec/models/payment_processor_authorization_code_request_body_spec.rb
|
791
|
+
- spec/models/member_response_spec.rb
|
792
|
+
- spec/models/statement_response_body_spec.rb
|
793
|
+
- spec/models/monthly_cash_flow_response_body_spec.rb
|
794
|
+
- spec/models/authorization_code_response_body_spec.rb
|
795
|
+
- spec/models/category_update_request_spec.rb
|
796
|
+
- spec/models/member_resume_request_spec.rb
|
831
797
|
- spec/models/accounts_response_body_spec.rb
|
832
|
-
- spec/models/
|
798
|
+
- spec/models/categories_response_body_spec.rb
|
799
|
+
- spec/models/insight_response_body_spec.rb
|
800
|
+
- spec/models/monthly_cash_flow_profile_request_spec.rb
|
801
|
+
- spec/models/authorization_code_request_body_spec.rb
|
802
|
+
- spec/models/managed_member_update_request_spec.rb
|
803
|
+
- spec/models/reposition_request_spec.rb
|
804
|
+
- spec/models/managed_account_create_request_spec.rb
|
805
|
+
- spec/models/budget_create_request_spec.rb
|
806
|
+
- spec/models/insight_response_spec.rb
|
807
|
+
- spec/models/account_number_response_spec.rb
|
808
|
+
- spec/models/insights_response_body_spec.rb
|
809
|
+
- spec/models/goals_response_body_spec.rb
|
810
|
+
- spec/models/merchants_response_body_spec.rb
|
811
|
+
- spec/models/microdeposit_response_spec.rb
|
812
|
+
- spec/models/spending_plan_response_spec.rb
|
813
|
+
- spec/models/microdeposit_request_spec.rb
|
814
|
+
- spec/models/merchant_location_response_spec.rb
|
815
|
+
- spec/models/category_create_request_body_spec.rb
|
816
|
+
- spec/models/member_resume_request_body_spec.rb
|
817
|
+
- spec/models/transaction_response_body_spec.rb
|
818
|
+
- spec/models/microdeposit_response_body_spec.rb
|
819
|
+
- spec/models/tax_documents_response_body_spec.rb
|
820
|
+
- spec/models/user_response_spec.rb
|
821
|
+
- spec/models/member_status_response_body_spec.rb
|
822
|
+
- spec/models/connect_widget_request_body_spec.rb
|
833
823
|
- spec/models/connect_widget_response_spec.rb
|
834
|
-
- spec/models/split_transactions_response_body_spec.rb
|
835
|
-
- spec/models/scheduled_payments_response_body_spec.rb
|
836
824
|
- spec/models/transactions_response_body_spec.rb
|
837
|
-
- spec/models/
|
838
|
-
- spec/models/
|
839
|
-
- spec/models/
|
840
|
-
- spec/models/
|
825
|
+
- spec/models/account_response_spec.rb
|
826
|
+
- spec/models/tagging_create_request_spec.rb
|
827
|
+
- spec/models/budget_response_spec.rb
|
828
|
+
- spec/models/members_response_body_spec.rb
|
829
|
+
- spec/models/statement_response_spec.rb
|
830
|
+
- spec/models/spending_plan_iteration_response_spec.rb
|
831
|
+
- spec/models/member_update_request_body_spec.rb
|
832
|
+
- spec/models/account_owner_response_spec.rb
|
833
|
+
- spec/models/user_create_request_spec.rb
|
834
|
+
- spec/models/payment_processor_authorization_code_request_spec.rb
|
835
|
+
- spec/models/holding_response_body_spec.rb
|
841
836
|
- spec/models/option_response_spec.rb
|
842
|
-
- spec/models/image_option_response_spec.rb
|
843
|
-
- spec/models/tagging_create_request_body_spec.rb
|
844
837
|
- spec/models/merchant_location_response_body_spec.rb
|
845
|
-
- spec/models/
|
846
|
-
- spec/models/
|
847
|
-
- spec/models/
|
848
|
-
- spec/models/
|
838
|
+
- spec/models/transaction_rule_create_request_body_spec.rb
|
839
|
+
- spec/models/goal_request_spec.rb
|
840
|
+
- spec/models/split_transactions_response_body_spec.rb
|
841
|
+
- spec/models/category_response_body_spec.rb
|
842
|
+
- spec/models/account_create_request_body_spec.rb
|
843
|
+
- spec/models/payment_processor_authorization_code_response_body_spec.rb
|
844
|
+
- spec/models/transaction_create_response_body_spec.rb
|
845
|
+
- spec/models/update_goal_request_body_spec.rb
|
846
|
+
- spec/models/split_transaction_request_body_spec.rb
|
847
|
+
- spec/models/taggings_response_body_spec.rb
|
848
|
+
- spec/models/tag_update_request_spec.rb
|
849
|
+
- spec/models/managed_transaction_update_request_spec.rb
|
850
|
+
- spec/models/tax_document_response_spec.rb
|
851
|
+
- spec/models/reward_response_body_spec.rb
|
852
|
+
- spec/models/member_response_body_spec.rb
|
853
|
+
- spec/models/account_owners_response_body_spec.rb
|
854
|
+
- spec/models/tagging_response_spec.rb
|
855
|
+
- spec/models/spending_plan_iteration_items_response_body_spec.rb
|
856
|
+
- spec/models/merchant_response_body_spec.rb
|
857
|
+
- spec/models/member_create_request_body_spec.rb
|
858
|
+
- spec/models/budget_create_request_body_spec.rb
|
849
859
|
- spec/spec_helper.rb
|
data/spec/api_client_spec.rb
DELETED
@@ -1,223 +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::ApiClient do
|
16
|
-
context 'initialization' do
|
17
|
-
context 'URL stuff' do
|
18
|
-
context 'host' do
|
19
|
-
it 'removes http from host' do
|
20
|
-
MxPlatformRuby.configure { |c| c.host = 'http://example.com' }
|
21
|
-
expect(MxPlatformRuby::Configuration.default.host).to eq('example.com')
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'removes https from host' do
|
25
|
-
MxPlatformRuby.configure { |c| c.host = 'https://wookiee.com' }
|
26
|
-
expect(MxPlatformRuby::ApiClient.default.config.host).to eq('wookiee.com')
|
27
|
-
end
|
28
|
-
|
29
|
-
it 'removes trailing path from host' do
|
30
|
-
MxPlatformRuby.configure { |c| c.host = 'hobo.com/v4' }
|
31
|
-
expect(MxPlatformRuby::Configuration.default.host).to eq('hobo.com')
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
context 'base_path' do
|
36
|
-
it "prepends a slash to base_path" do
|
37
|
-
MxPlatformRuby.configure { |c| c.base_path = 'v4/dog' }
|
38
|
-
expect(MxPlatformRuby::Configuration.default.base_path).to eq('/v4/dog')
|
39
|
-
end
|
40
|
-
|
41
|
-
it "doesn't prepend a slash if one is already there" do
|
42
|
-
MxPlatformRuby.configure { |c| c.base_path = '/v4/dog' }
|
43
|
-
expect(MxPlatformRuby::Configuration.default.base_path).to eq('/v4/dog')
|
44
|
-
end
|
45
|
-
|
46
|
-
it "ends up as a blank string if nil" do
|
47
|
-
MxPlatformRuby.configure { |c| c.base_path = nil }
|
48
|
-
expect(MxPlatformRuby::Configuration.default.base_path).to eq('')
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
|
55
|
-
describe 'proxy in #build_connection' do
|
56
|
-
let(:config) { MxPlatformRuby::Configuration.new }
|
57
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new(config) }
|
58
|
-
let(:proxy_uri) { URI('http://example.org:8080') }
|
59
|
-
|
60
|
-
it 'defaults to nil' do
|
61
|
-
expect(MxPlatformRuby::Configuration.default.proxy).to be_nil
|
62
|
-
expect(config.proxy).to be_nil
|
63
|
-
|
64
|
-
connection = api_client.build_connection
|
65
|
-
expect(connection.proxy_for_request('/test')).to be_nil
|
66
|
-
end
|
67
|
-
|
68
|
-
it 'can be customized with a string' do
|
69
|
-
config.proxy = proxy_uri.to_s
|
70
|
-
|
71
|
-
connection = api_client.build_connection
|
72
|
-
configured_proxy = connection.proxy_for_request('/test')
|
73
|
-
|
74
|
-
expect(configured_proxy).not_to be_nil
|
75
|
-
expect(configured_proxy.uri.to_s).to eq proxy_uri.to_s
|
76
|
-
end
|
77
|
-
|
78
|
-
it 'can be customized with a hash' do
|
79
|
-
config.proxy = { uri: proxy_uri }
|
80
|
-
|
81
|
-
connection = api_client.build_connection
|
82
|
-
configured_proxy = connection.proxy_for_request('/test')
|
83
|
-
|
84
|
-
expect(configured_proxy).not_to be_nil
|
85
|
-
expect(configured_proxy.uri).to eq proxy_uri
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
describe '#deserialize' do
|
90
|
-
it "handles Array<Integer>" do
|
91
|
-
api_client = MxPlatformRuby::ApiClient.new
|
92
|
-
headers = { 'Content-Type' => 'application/json' }
|
93
|
-
response = double('response', headers: headers, body: '[12, 34]')
|
94
|
-
data = api_client.deserialize(response, 'Array<Integer>')
|
95
|
-
expect(data).to be_instance_of(Array)
|
96
|
-
expect(data).to eq([12, 34])
|
97
|
-
end
|
98
|
-
|
99
|
-
it 'handles Array<Array<Integer>>' do
|
100
|
-
api_client = MxPlatformRuby::ApiClient.new
|
101
|
-
headers = { 'Content-Type' => 'application/json' }
|
102
|
-
response = double('response', headers: headers, body: '[[12, 34], [56]]')
|
103
|
-
data = api_client.deserialize(response, 'Array<Array<Integer>>')
|
104
|
-
expect(data).to be_instance_of(Array)
|
105
|
-
expect(data).to eq([[12, 34], [56]])
|
106
|
-
end
|
107
|
-
|
108
|
-
it 'handles Hash<String, String>' do
|
109
|
-
api_client = MxPlatformRuby::ApiClient.new
|
110
|
-
headers = { 'Content-Type' => 'application/json' }
|
111
|
-
response = double('response', headers: headers, body: '{"message": "Hello"}')
|
112
|
-
data = api_client.deserialize(response, 'Hash<String, String>')
|
113
|
-
expect(data).to be_instance_of(Hash)
|
114
|
-
expect(data).to eq(:message => 'Hello')
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
describe "#object_to_hash" do
|
119
|
-
it 'ignores nils and includes empty arrays' do
|
120
|
-
# uncomment below to test object_to_hash for model
|
121
|
-
# api_client = MxPlatformRuby::ApiClient.new
|
122
|
-
# _model = MxPlatformRuby::ModelName.new
|
123
|
-
# update the model attribute below
|
124
|
-
# _model.id = 1
|
125
|
-
# update the expected value (hash) below
|
126
|
-
# expected = {id: 1, name: '', tags: []}
|
127
|
-
# expect(api_client.object_to_hash(_model)).to eq(expected)
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
describe '#build_collection_param' do
|
132
|
-
let(:param) { ['aa', 'bb', 'cc'] }
|
133
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new }
|
134
|
-
|
135
|
-
it 'works for csv' do
|
136
|
-
expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
|
137
|
-
end
|
138
|
-
|
139
|
-
it 'works for ssv' do
|
140
|
-
expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
|
141
|
-
end
|
142
|
-
|
143
|
-
it 'works for tsv' do
|
144
|
-
expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
|
145
|
-
end
|
146
|
-
|
147
|
-
it 'works for pipes' do
|
148
|
-
expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
|
149
|
-
end
|
150
|
-
|
151
|
-
it 'works for multi' do
|
152
|
-
expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
|
153
|
-
end
|
154
|
-
|
155
|
-
it 'fails for invalid collection format' do
|
156
|
-
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
157
|
-
end
|
158
|
-
end
|
159
|
-
|
160
|
-
describe '#json_mime?' do
|
161
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new }
|
162
|
-
|
163
|
-
it 'works' do
|
164
|
-
expect(api_client.json_mime?(nil)).to eq false
|
165
|
-
expect(api_client.json_mime?('')).to eq false
|
166
|
-
|
167
|
-
expect(api_client.json_mime?('application/json')).to eq true
|
168
|
-
expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
|
169
|
-
expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
|
170
|
-
|
171
|
-
expect(api_client.json_mime?('application/xml')).to eq false
|
172
|
-
expect(api_client.json_mime?('text/plain')).to eq false
|
173
|
-
expect(api_client.json_mime?('application/jsonp')).to eq false
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
describe '#select_header_accept' do
|
178
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new }
|
179
|
-
|
180
|
-
it 'works' do
|
181
|
-
expect(api_client.select_header_accept(nil)).to be_nil
|
182
|
-
expect(api_client.select_header_accept([])).to be_nil
|
183
|
-
|
184
|
-
expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
|
185
|
-
expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
|
186
|
-
expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
|
187
|
-
|
188
|
-
expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
|
189
|
-
expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
describe '#select_header_content_type' do
|
194
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new }
|
195
|
-
|
196
|
-
it 'works' do
|
197
|
-
expect(api_client.select_header_content_type(nil)).to be_nil
|
198
|
-
expect(api_client.select_header_content_type([])).to be_nil
|
199
|
-
|
200
|
-
expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
|
201
|
-
expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
|
202
|
-
expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
|
203
|
-
expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
|
204
|
-
expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
|
205
|
-
end
|
206
|
-
end
|
207
|
-
|
208
|
-
describe '#sanitize_filename' do
|
209
|
-
let(:api_client) { MxPlatformRuby::ApiClient.new }
|
210
|
-
|
211
|
-
it 'works' do
|
212
|
-
expect(api_client.sanitize_filename('sun')).to eq('sun')
|
213
|
-
expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
|
214
|
-
expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
|
215
|
-
expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
|
216
|
-
expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
|
217
|
-
expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
|
218
|
-
expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
|
219
|
-
expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
|
220
|
-
expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
|
221
|
-
end
|
222
|
-
end
|
223
|
-
end
|