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.
Files changed (380) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -1
  3. data/lib/mx-platform-ruby/api/budgets_api.rb +6 -6
  4. data/lib/mx-platform-ruby/api/goals_api.rb +6 -6
  5. data/lib/mx-platform-ruby/api/insights_api.rb +10 -10
  6. data/lib/mx-platform-ruby/api/microdeposits_api.rb +5 -5
  7. data/lib/mx-platform-ruby/api/mx_platform_api.rb +97 -97
  8. data/lib/mx-platform-ruby/api/spending_plan_api.rb +12 -12
  9. data/lib/mx-platform-ruby/api/transactions_api.rb +2 -2
  10. data/lib/mx-platform-ruby/api_client.rb +50 -41
  11. data/lib/mx-platform-ruby/api_error.rb +1 -1
  12. data/lib/mx-platform-ruby/configuration.rb +12 -1
  13. data/lib/mx-platform-ruby/models/account_create_request.rb +2 -2
  14. data/lib/mx-platform-ruby/models/account_create_request_body.rb +2 -2
  15. data/lib/mx-platform-ruby/models/account_number_response.rb +2 -2
  16. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
  17. data/lib/mx-platform-ruby/models/account_owner_response.rb +2 -2
  18. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
  19. data/lib/mx-platform-ruby/models/account_response.rb +2 -2
  20. data/lib/mx-platform-ruby/models/account_response_body.rb +2 -2
  21. data/lib/mx-platform-ruby/models/account_update_request.rb +2 -2
  22. data/lib/mx-platform-ruby/models/account_update_request_body.rb +2 -2
  23. data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
  24. data/lib/mx-platform-ruby/models/authorization_code_request.rb +2 -2
  25. data/lib/mx-platform-ruby/models/authorization_code_request_body.rb +2 -2
  26. data/lib/mx-platform-ruby/models/authorization_code_response.rb +2 -2
  27. data/lib/mx-platform-ruby/models/authorization_code_response_body.rb +2 -2
  28. data/lib/mx-platform-ruby/models/budget_create_request.rb +2 -2
  29. data/lib/mx-platform-ruby/models/budget_create_request_body.rb +2 -2
  30. data/lib/mx-platform-ruby/models/budget_response.rb +2 -2
  31. data/lib/mx-platform-ruby/models/budget_response_body.rb +2 -2
  32. data/lib/mx-platform-ruby/models/budget_update_request.rb +2 -2
  33. data/lib/mx-platform-ruby/models/budget_update_request_body.rb +2 -2
  34. data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
  35. data/lib/mx-platform-ruby/models/category_create_request.rb +2 -2
  36. data/lib/mx-platform-ruby/models/category_create_request_body.rb +2 -2
  37. data/lib/mx-platform-ruby/models/category_response.rb +2 -2
  38. data/lib/mx-platform-ruby/models/category_response_body.rb +2 -2
  39. data/lib/mx-platform-ruby/models/category_update_request.rb +2 -2
  40. data/lib/mx-platform-ruby/models/category_update_request_body.rb +2 -2
  41. data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
  42. data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
  43. data/lib/mx-platform-ruby/models/connect_widget_request.rb +2 -2
  44. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +2 -2
  45. data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -2
  46. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +2 -2
  47. data/lib/mx-platform-ruby/models/credential_request.rb +2 -2
  48. data/lib/mx-platform-ruby/models/credential_response.rb +2 -2
  49. data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
  50. data/lib/mx-platform-ruby/models/credit_card_product.rb +2 -2
  51. data/lib/mx-platform-ruby/models/credit_card_product_response.rb +2 -2
  52. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +2 -2
  53. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +2 -2
  54. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +2 -2
  55. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +2 -2
  56. data/lib/mx-platform-ruby/models/goal_request.rb +2 -2
  57. data/lib/mx-platform-ruby/models/goal_request_body.rb +2 -2
  58. data/lib/mx-platform-ruby/models/goal_response.rb +2 -2
  59. data/lib/mx-platform-ruby/models/goal_response_body.rb +2 -2
  60. data/lib/mx-platform-ruby/models/goals_response.rb +2 -2
  61. data/lib/mx-platform-ruby/models/goals_response_body.rb +2 -2
  62. data/lib/mx-platform-ruby/models/holding_response.rb +2 -2
  63. data/lib/mx-platform-ruby/models/holding_response_body.rb +2 -2
  64. data/lib/mx-platform-ruby/models/holdings_response_body.rb +2 -2
  65. data/lib/mx-platform-ruby/models/image_option_response.rb +2 -2
  66. data/lib/mx-platform-ruby/models/insight_response.rb +2 -2
  67. data/lib/mx-platform-ruby/models/insight_response_body.rb +2 -2
  68. data/lib/mx-platform-ruby/models/insight_update_request.rb +2 -2
  69. data/lib/mx-platform-ruby/models/insights_response_body.rb +2 -2
  70. data/lib/mx-platform-ruby/models/institution_response.rb +2 -2
  71. data/lib/mx-platform-ruby/models/institution_response_body.rb +2 -2
  72. data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
  73. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +2 -2
  74. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +2 -2
  75. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +2 -2
  76. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +2 -2
  77. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +2 -2
  78. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +2 -2
  79. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +2 -2
  80. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +2 -2
  81. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +2 -2
  82. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +2 -2
  83. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +2 -2
  84. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +2 -2
  85. data/lib/mx-platform-ruby/models/member_create_request.rb +2 -2
  86. data/lib/mx-platform-ruby/models/member_create_request_body.rb +2 -2
  87. data/lib/mx-platform-ruby/models/member_response.rb +2 -2
  88. data/lib/mx-platform-ruby/models/member_response_body.rb +2 -2
  89. data/lib/mx-platform-ruby/models/member_resume_request.rb +2 -2
  90. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +2 -2
  91. data/lib/mx-platform-ruby/models/member_status_response.rb +2 -2
  92. data/lib/mx-platform-ruby/models/member_status_response_body.rb +2 -2
  93. data/lib/mx-platform-ruby/models/member_update_request.rb +2 -2
  94. data/lib/mx-platform-ruby/models/member_update_request_body.rb +2 -2
  95. data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
  96. data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -2
  97. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +2 -2
  98. data/lib/mx-platform-ruby/models/merchant_response.rb +2 -2
  99. data/lib/mx-platform-ruby/models/merchant_response_body.rb +2 -2
  100. data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
  101. data/lib/mx-platform-ruby/models/microdeposit_request.rb +2 -2
  102. data/lib/mx-platform-ruby/models/microdeposit_request_body.rb +2 -2
  103. data/lib/mx-platform-ruby/models/microdeposit_response.rb +2 -2
  104. data/lib/mx-platform-ruby/models/microdeposit_response_body.rb +2 -2
  105. data/lib/mx-platform-ruby/models/microdeposit_verify_request.rb +2 -2
  106. data/lib/mx-platform-ruby/models/microdeposit_verify_request_body.rb +2 -2
  107. data/lib/mx-platform-ruby/models/microdeposits_response_body.rb +2 -2
  108. data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request.rb +2 -2
  109. data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request_body.rb +2 -2
  110. data/lib/mx-platform-ruby/models/monthly_cash_flow_response.rb +2 -2
  111. data/lib/mx-platform-ruby/models/monthly_cash_flow_response_body.rb +2 -2
  112. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -2
  113. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +2 -2
  114. data/lib/mx-platform-ruby/models/option_response.rb +2 -2
  115. data/lib/mx-platform-ruby/models/pagination_response.rb +2 -2
  116. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +2 -2
  117. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +2 -2
  118. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +2 -2
  119. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +2 -2
  120. data/lib/mx-platform-ruby/models/reposition_request.rb +2 -2
  121. data/lib/mx-platform-ruby/models/reposition_request_body.rb +2 -2
  122. data/lib/mx-platform-ruby/models/reposition_response_body.rb +2 -2
  123. data/lib/mx-platform-ruby/models/reward_response.rb +2 -2
  124. data/lib/mx-platform-ruby/models/reward_response_body.rb +2 -2
  125. data/lib/mx-platform-ruby/models/rewards_response.rb +2 -2
  126. data/lib/mx-platform-ruby/models/rewards_response_body.rb +2 -2
  127. data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +2 -2
  128. data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +2 -2
  129. data/lib/mx-platform-ruby/models/spending_plan_account_response.rb +2 -2
  130. data/lib/mx-platform-ruby/models/spending_plan_accounts_response.rb +2 -2
  131. data/lib/mx-platform-ruby/models/spending_plan_iteration_item_create_request_body.rb +2 -2
  132. data/lib/mx-platform-ruby/models/spending_plan_iteration_item_response.rb +2 -2
  133. data/lib/mx-platform-ruby/models/spending_plan_iteration_items_response_body.rb +2 -2
  134. data/lib/mx-platform-ruby/models/spending_plan_iteration_response.rb +2 -2
  135. data/lib/mx-platform-ruby/models/spending_plan_iterations_response.rb +2 -2
  136. data/lib/mx-platform-ruby/models/spending_plan_response.rb +2 -2
  137. data/lib/mx-platform-ruby/models/spending_plans_response_body.rb +2 -2
  138. data/lib/mx-platform-ruby/models/split_transaction_request.rb +2 -2
  139. data/lib/mx-platform-ruby/models/split_transaction_request_body.rb +2 -2
  140. data/lib/mx-platform-ruby/models/split_transactions_response_body.rb +2 -2
  141. data/lib/mx-platform-ruby/models/statement_response.rb +2 -2
  142. data/lib/mx-platform-ruby/models/statement_response_body.rb +2 -2
  143. data/lib/mx-platform-ruby/models/statements_response_body.rb +2 -2
  144. data/lib/mx-platform-ruby/models/tag_create_request.rb +2 -2
  145. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +2 -2
  146. data/lib/mx-platform-ruby/models/tag_response.rb +2 -2
  147. data/lib/mx-platform-ruby/models/tag_response_body.rb +2 -2
  148. data/lib/mx-platform-ruby/models/tag_update_request.rb +2 -2
  149. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +2 -2
  150. data/lib/mx-platform-ruby/models/tagging_create_request.rb +2 -2
  151. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +2 -2
  152. data/lib/mx-platform-ruby/models/tagging_response.rb +2 -2
  153. data/lib/mx-platform-ruby/models/tagging_response_body.rb +2 -2
  154. data/lib/mx-platform-ruby/models/tagging_update_request.rb +2 -2
  155. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +2 -2
  156. data/lib/mx-platform-ruby/models/taggings_response_body.rb +2 -2
  157. data/lib/mx-platform-ruby/models/tags_response_body.rb +2 -2
  158. data/lib/mx-platform-ruby/models/tax_document_response.rb +2 -2
  159. data/lib/mx-platform-ruby/models/tax_document_response_body.rb +2 -2
  160. data/lib/mx-platform-ruby/models/tax_documents_response_body.rb +2 -2
  161. data/lib/mx-platform-ruby/models/transaction_create_request.rb +2 -2
  162. data/lib/mx-platform-ruby/models/transaction_create_request_body.rb +2 -2
  163. data/lib/mx-platform-ruby/models/transaction_create_response_body.rb +2 -2
  164. data/lib/mx-platform-ruby/models/transaction_response.rb +2 -2
  165. data/lib/mx-platform-ruby/models/transaction_response_body.rb +2 -2
  166. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +2 -2
  167. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +2 -2
  168. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +2 -2
  169. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +2 -2
  170. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +2 -2
  171. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +2 -2
  172. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +2 -2
  173. data/lib/mx-platform-ruby/models/transaction_update_request.rb +2 -2
  174. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +2 -2
  175. data/lib/mx-platform-ruby/models/transactions_response_body.rb +2 -2
  176. data/lib/mx-platform-ruby/models/update_goal_request.rb +2 -2
  177. data/lib/mx-platform-ruby/models/update_goal_request_body.rb +2 -2
  178. data/lib/mx-platform-ruby/models/user_create_request.rb +2 -2
  179. data/lib/mx-platform-ruby/models/user_create_request_body.rb +2 -2
  180. data/lib/mx-platform-ruby/models/user_response.rb +2 -2
  181. data/lib/mx-platform-ruby/models/user_response_body.rb +2 -2
  182. data/lib/mx-platform-ruby/models/user_update_request.rb +2 -2
  183. data/lib/mx-platform-ruby/models/user_update_request_body.rb +2 -2
  184. data/lib/mx-platform-ruby/models/users_response_body.rb +2 -2
  185. data/lib/mx-platform-ruby/models/widget_request.rb +2 -2
  186. data/lib/mx-platform-ruby/models/widget_request_body.rb +2 -2
  187. data/lib/mx-platform-ruby/models/widget_response.rb +2 -2
  188. data/lib/mx-platform-ruby/models/widget_response_body.rb +2 -2
  189. data/lib/mx-platform-ruby/version.rb +2 -2
  190. data/lib/mx-platform-ruby.rb +1 -1
  191. data/mx-platform-ruby.gemspec +3 -1
  192. data/openapi/config.yml +1 -1
  193. data/openapitools.json +1 -1
  194. data/spec/api/budgets_api_spec.rb +1 -1
  195. data/spec/api/goals_api_spec.rb +1 -1
  196. data/spec/api/insights_api_spec.rb +1 -1
  197. data/spec/api/microdeposits_api_spec.rb +1 -1
  198. data/spec/api/mx_platform_api_spec.rb +1 -1
  199. data/spec/api/spending_plan_api_spec.rb +1 -1
  200. data/spec/api/transactions_api_spec.rb +1 -1
  201. data/spec/models/account_create_request_body_spec.rb +4 -2
  202. data/spec/models/account_create_request_spec.rb +4 -2
  203. data/spec/models/account_number_response_spec.rb +4 -2
  204. data/spec/models/account_numbers_response_body_spec.rb +4 -2
  205. data/spec/models/account_owner_response_spec.rb +4 -2
  206. data/spec/models/account_owners_response_body_spec.rb +4 -2
  207. data/spec/models/account_response_body_spec.rb +4 -2
  208. data/spec/models/account_response_spec.rb +4 -2
  209. data/spec/models/account_update_request_body_spec.rb +4 -2
  210. data/spec/models/account_update_request_spec.rb +4 -2
  211. data/spec/models/accounts_response_body_spec.rb +4 -2
  212. data/spec/models/authorization_code_request_body_spec.rb +4 -2
  213. data/spec/models/authorization_code_request_spec.rb +4 -2
  214. data/spec/models/authorization_code_response_body_spec.rb +4 -2
  215. data/spec/models/authorization_code_response_spec.rb +4 -2
  216. data/spec/models/budget_create_request_body_spec.rb +4 -2
  217. data/spec/models/budget_create_request_spec.rb +4 -2
  218. data/spec/models/budget_response_body_spec.rb +4 -2
  219. data/spec/models/budget_response_spec.rb +4 -2
  220. data/spec/models/budget_update_request_body_spec.rb +4 -2
  221. data/spec/models/budget_update_request_spec.rb +4 -2
  222. data/spec/models/categories_response_body_spec.rb +4 -2
  223. data/spec/models/category_create_request_body_spec.rb +4 -2
  224. data/spec/models/category_create_request_spec.rb +4 -2
  225. data/spec/models/category_response_body_spec.rb +4 -2
  226. data/spec/models/category_response_spec.rb +4 -2
  227. data/spec/models/category_update_request_body_spec.rb +4 -2
  228. data/spec/models/category_update_request_spec.rb +4 -2
  229. data/spec/models/challenge_response_spec.rb +4 -2
  230. data/spec/models/challenges_response_body_spec.rb +4 -2
  231. data/spec/models/connect_widget_request_body_spec.rb +4 -2
  232. data/spec/models/connect_widget_request_spec.rb +4 -2
  233. data/spec/models/connect_widget_response_body_spec.rb +4 -2
  234. data/spec/models/connect_widget_response_spec.rb +4 -2
  235. data/spec/models/credential_request_spec.rb +4 -2
  236. data/spec/models/credential_response_spec.rb +4 -2
  237. data/spec/models/credentials_response_body_spec.rb +4 -2
  238. data/spec/models/credit_card_product_response_spec.rb +4 -2
  239. data/spec/models/credit_card_product_spec.rb +4 -2
  240. data/spec/models/enhance_transaction_response_spec.rb +4 -2
  241. data/spec/models/enhance_transactions_request_body_spec.rb +4 -2
  242. data/spec/models/enhance_transactions_request_spec.rb +4 -2
  243. data/spec/models/enhance_transactions_response_body_spec.rb +4 -2
  244. data/spec/models/goal_request_body_spec.rb +4 -2
  245. data/spec/models/goal_request_spec.rb +4 -2
  246. data/spec/models/goal_response_body_spec.rb +4 -2
  247. data/spec/models/goal_response_spec.rb +4 -2
  248. data/spec/models/goals_response_body_spec.rb +4 -2
  249. data/spec/models/goals_response_spec.rb +4 -2
  250. data/spec/models/holding_response_body_spec.rb +4 -2
  251. data/spec/models/holding_response_spec.rb +4 -2
  252. data/spec/models/holdings_response_body_spec.rb +4 -2
  253. data/spec/models/image_option_response_spec.rb +4 -2
  254. data/spec/models/insight_response_body_spec.rb +4 -2
  255. data/spec/models/insight_response_spec.rb +4 -2
  256. data/spec/models/insight_update_request_spec.rb +4 -2
  257. data/spec/models/insights_response_body_spec.rb +4 -2
  258. data/spec/models/institution_response_body_spec.rb +4 -2
  259. data/spec/models/institution_response_spec.rb +4 -2
  260. data/spec/models/institutions_response_body_spec.rb +4 -2
  261. data/spec/models/managed_account_create_request_body_spec.rb +4 -2
  262. data/spec/models/managed_account_create_request_spec.rb +4 -2
  263. data/spec/models/managed_account_update_request_body_spec.rb +4 -2
  264. data/spec/models/managed_account_update_request_spec.rb +4 -2
  265. data/spec/models/managed_member_create_request_body_spec.rb +4 -2
  266. data/spec/models/managed_member_create_request_spec.rb +4 -2
  267. data/spec/models/managed_member_update_request_body_spec.rb +4 -2
  268. data/spec/models/managed_member_update_request_spec.rb +4 -2
  269. data/spec/models/managed_transaction_create_request_body_spec.rb +4 -2
  270. data/spec/models/managed_transaction_create_request_spec.rb +4 -2
  271. data/spec/models/managed_transaction_update_request_body_spec.rb +4 -2
  272. data/spec/models/managed_transaction_update_request_spec.rb +4 -2
  273. data/spec/models/member_create_request_body_spec.rb +4 -2
  274. data/spec/models/member_create_request_spec.rb +4 -2
  275. data/spec/models/member_response_body_spec.rb +4 -2
  276. data/spec/models/member_response_spec.rb +4 -2
  277. data/spec/models/member_resume_request_body_spec.rb +4 -2
  278. data/spec/models/member_resume_request_spec.rb +4 -2
  279. data/spec/models/member_status_response_body_spec.rb +4 -2
  280. data/spec/models/member_status_response_spec.rb +4 -2
  281. data/spec/models/member_update_request_body_spec.rb +4 -2
  282. data/spec/models/member_update_request_spec.rb +4 -2
  283. data/spec/models/members_response_body_spec.rb +4 -2
  284. data/spec/models/merchant_location_response_body_spec.rb +4 -2
  285. data/spec/models/merchant_location_response_spec.rb +4 -2
  286. data/spec/models/merchant_response_body_spec.rb +4 -2
  287. data/spec/models/merchant_response_spec.rb +4 -2
  288. data/spec/models/merchants_response_body_spec.rb +4 -2
  289. data/spec/models/microdeposit_request_body_spec.rb +4 -2
  290. data/spec/models/microdeposit_request_spec.rb +4 -2
  291. data/spec/models/microdeposit_response_body_spec.rb +4 -2
  292. data/spec/models/microdeposit_response_spec.rb +4 -2
  293. data/spec/models/microdeposit_verify_request_body_spec.rb +4 -2
  294. data/spec/models/microdeposit_verify_request_spec.rb +4 -2
  295. data/spec/models/microdeposits_response_body_spec.rb +4 -2
  296. data/spec/models/monthly_cash_flow_profile_request_body_spec.rb +4 -2
  297. data/spec/models/monthly_cash_flow_profile_request_spec.rb +4 -2
  298. data/spec/models/monthly_cash_flow_response_body_spec.rb +4 -2
  299. data/spec/models/monthly_cash_flow_response_spec.rb +4 -2
  300. data/spec/models/o_auth_window_response_body_spec.rb +4 -2
  301. data/spec/models/o_auth_window_response_spec.rb +4 -2
  302. data/spec/models/option_response_spec.rb +4 -2
  303. data/spec/models/pagination_response_spec.rb +4 -2
  304. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +4 -2
  305. data/spec/models/payment_processor_authorization_code_request_spec.rb +4 -2
  306. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +4 -2
  307. data/spec/models/payment_processor_authorization_code_response_spec.rb +4 -2
  308. data/spec/models/reposition_request_body_spec.rb +4 -2
  309. data/spec/models/reposition_request_spec.rb +4 -2
  310. data/spec/models/reposition_response_body_spec.rb +4 -2
  311. data/spec/models/reward_response_body_spec.rb +4 -2
  312. data/spec/models/reward_response_spec.rb +4 -2
  313. data/spec/models/rewards_response_body_spec.rb +4 -2
  314. data/spec/models/rewards_response_spec.rb +4 -2
  315. data/spec/models/scheduled_payment_response_spec.rb +4 -2
  316. data/spec/models/scheduled_payments_response_body_spec.rb +4 -2
  317. data/spec/models/spending_plan_account_response_spec.rb +4 -2
  318. data/spec/models/spending_plan_accounts_response_spec.rb +4 -2
  319. data/spec/models/spending_plan_iteration_item_create_request_body_spec.rb +4 -2
  320. data/spec/models/spending_plan_iteration_item_response_spec.rb +4 -2
  321. data/spec/models/spending_plan_iteration_items_response_body_spec.rb +4 -2
  322. data/spec/models/spending_plan_iteration_response_spec.rb +4 -2
  323. data/spec/models/spending_plan_iterations_response_spec.rb +4 -2
  324. data/spec/models/spending_plan_response_spec.rb +4 -2
  325. data/spec/models/spending_plans_response_body_spec.rb +4 -2
  326. data/spec/models/split_transaction_request_body_spec.rb +4 -2
  327. data/spec/models/split_transaction_request_spec.rb +4 -2
  328. data/spec/models/split_transactions_response_body_spec.rb +4 -2
  329. data/spec/models/statement_response_body_spec.rb +4 -2
  330. data/spec/models/statement_response_spec.rb +4 -2
  331. data/spec/models/statements_response_body_spec.rb +4 -2
  332. data/spec/models/tag_create_request_body_spec.rb +4 -2
  333. data/spec/models/tag_create_request_spec.rb +4 -2
  334. data/spec/models/tag_response_body_spec.rb +4 -2
  335. data/spec/models/tag_response_spec.rb +4 -2
  336. data/spec/models/tag_update_request_body_spec.rb +4 -2
  337. data/spec/models/tag_update_request_spec.rb +4 -2
  338. data/spec/models/tagging_create_request_body_spec.rb +4 -2
  339. data/spec/models/tagging_create_request_spec.rb +4 -2
  340. data/spec/models/tagging_response_body_spec.rb +4 -2
  341. data/spec/models/tagging_response_spec.rb +4 -2
  342. data/spec/models/tagging_update_request_body_spec.rb +4 -2
  343. data/spec/models/tagging_update_request_spec.rb +4 -2
  344. data/spec/models/taggings_response_body_spec.rb +4 -2
  345. data/spec/models/tags_response_body_spec.rb +4 -2
  346. data/spec/models/tax_document_response_body_spec.rb +4 -2
  347. data/spec/models/tax_document_response_spec.rb +4 -2
  348. data/spec/models/tax_documents_response_body_spec.rb +4 -2
  349. data/spec/models/transaction_create_request_body_spec.rb +4 -2
  350. data/spec/models/transaction_create_request_spec.rb +4 -2
  351. data/spec/models/transaction_create_response_body_spec.rb +4 -2
  352. data/spec/models/transaction_response_body_spec.rb +4 -2
  353. data/spec/models/transaction_response_spec.rb +4 -2
  354. data/spec/models/transaction_rule_create_request_body_spec.rb +4 -2
  355. data/spec/models/transaction_rule_create_request_spec.rb +4 -2
  356. data/spec/models/transaction_rule_response_body_spec.rb +4 -2
  357. data/spec/models/transaction_rule_response_spec.rb +4 -2
  358. data/spec/models/transaction_rule_update_request_body_spec.rb +4 -2
  359. data/spec/models/transaction_rule_update_request_spec.rb +4 -2
  360. data/spec/models/transaction_rules_response_body_spec.rb +4 -2
  361. data/spec/models/transaction_update_request_body_spec.rb +4 -2
  362. data/spec/models/transaction_update_request_spec.rb +4 -2
  363. data/spec/models/transactions_response_body_spec.rb +4 -2
  364. data/spec/models/update_goal_request_body_spec.rb +4 -2
  365. data/spec/models/update_goal_request_spec.rb +4 -2
  366. data/spec/models/user_create_request_body_spec.rb +4 -2
  367. data/spec/models/user_create_request_spec.rb +4 -2
  368. data/spec/models/user_response_body_spec.rb +4 -2
  369. data/spec/models/user_response_spec.rb +4 -2
  370. data/spec/models/user_update_request_body_spec.rb +4 -2
  371. data/spec/models/user_update_request_spec.rb +4 -2
  372. data/spec/models/users_response_body_spec.rb +4 -2
  373. data/spec/models/widget_request_body_spec.rb +4 -2
  374. data/spec/models/widget_request_spec.rb +4 -2
  375. data/spec/models/widget_response_body_spec.rb +4 -2
  376. data/spec/models/widget_response_spec.rb +4 -2
  377. data/spec/spec_helper.rb +1 -1
  378. metadata +173 -163
  379. data/spec/api_client_spec.rb +0 -223
  380. data/spec/configuration_spec.rb +0 -82
@@ -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