=begin #MoneyKit API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.1.0 =end require 'spec_helper' require 'json' # Unit tests for MoneyKit::AccountNumbersApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AccountNumbersApi' do before do # run before each test @api_instance = MoneyKit::AccountNumbersApi.new end after do # run after each test end describe 'test an instance of AccountNumbersApi' do it 'should create an instance of AccountNumbersApi' do expect(@api_instance).to be_instance_of(MoneyKit::AccountNumbersApi) end end # unit tests for get_account_numbers # /links/{id}/accounts/numbers # Returns a list of open, permissioned accounts associated with a <a href=#tag/Links>link</a>, including full account and routing numbers for appropriate accounts (such as checking and savings accounts). <p>**Note** that this endpoint does **not** trigger a fetch of account numbers from the institution; it merely returns account numbers that have already been fetched, either because `prefetch` was requested when the link was created, or because of an on-demand update. **To force a check for new/updated account numbers, you must use the <a href=#operation/refresh_products>/products</a> endpoint.** <p>If you have requested prefetch or an on-demand update, you should check the `refreshed_at` date for this product in the returned response, and compare that against the previous `refreshed_at` date, which you can get from any previous response for this or any other account or link request. If the refreshed_at date has not increased, then updated data is not yet available. # @param id The unique ID for this link. # @param [Hash] opts the optional parameters # @option opts [String] :moneykit_version # @return [GetAccountNumbersResponse] describe 'get_account_numbers test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end