fuse_client 1.0.6 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -5
- data/README.md +82 -1
- data/docs/AccountSubType.md +15 -0
- data/docs/AccountType.md +15 -0
- data/docs/CountryCode.md +15 -0
- data/docs/CreateAssetReportResponse.md +3 -1
- data/docs/CreateEntityResponse.md +3 -1
- data/docs/CreateLinkTokenRequest.md +0 -2
- data/docs/CreateLinkTokenResponse.md +2 -2
- data/docs/CreateSessionRequest.md +9 -1
- data/docs/CreateSessionResponse.md +3 -3
- data/docs/Currency.md +20 -0
- data/docs/DeleteFinancialConnectionResponse.md +22 -0
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +3 -3
- data/docs/FinancialConnectionData.md +2 -2
- data/docs/FinancialConnectionDetails.md +32 -0
- data/docs/FinancialConnectionDetailsMx.md +20 -0
- data/docs/FinancialConnectionDetailsPlaid.md +20 -0
- data/docs/FinancialConnectionDetailsTeller.md +20 -0
- data/docs/FinancialConnectionsAccount.md +8 -8
- data/docs/FinancialConnectionsAccountBalance.md +5 -3
- data/docs/FinancialConnectionsAccountCachedBalance.md +24 -0
- data/docs/FinancialConnectionsAccountDetails.md +2 -2
- data/docs/FinancialConnectionsAccountLiability.md +8 -8
- data/docs/FinancialConnectionsHolding.md +8 -8
- data/docs/FinancialConnectionsInvestmentSecurity.md +17 -7
- data/docs/FinancialConnectionsInvestmentSecurityExchange.md +18 -0
- data/docs/FinancialConnectionsInvestmentTransaction.md +22 -2
- data/docs/FinancialConnectionsOwner.md +4 -4
- data/docs/FinancialConnectionsOwnerEmailsInner.md +1 -1
- data/docs/FinancialConnectionsOwnerNamesInner.md +1 -1
- data/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +1 -1
- data/docs/FinancialInstitution.md +3 -1
- data/docs/FuseApi.md +189 -185
- data/docs/FuseApiErrorData.md +1 -1
- data/docs/FuseApiWarningData.md +1 -1
- data/docs/GetAssetReportResponse.md +3 -1
- data/docs/GetEntityResponse.md +6 -2
- data/docs/GetFinancialConnectionResponse.md +20 -0
- data/docs/GetFinancialConnectionsAccountDetailsResponse.md +5 -3
- data/docs/GetFinancialConnectionsAccountsResponse.md +5 -3
- data/docs/GetFinancialConnectionsBalanceRequest.md +3 -1
- data/docs/GetFinancialConnectionsBalanceRequestOptions.md +18 -0
- data/docs/GetFinancialConnectionsBalanceResponse.md +20 -0
- data/docs/GetFinancialConnectionsOwnersResponse.md +1 -1
- data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +5 -3
- data/docs/GetFinancialConnectionsTransactionsRequest.md +26 -0
- data/docs/GetFinancialConnectionsTransactionsResponse.md +22 -0
- data/docs/GetFinancialInstitutionResponse.md +4 -2
- data/docs/GetInvestmentHoldingsRequest.md +3 -3
- data/docs/GetInvestmentHoldingsRequestOptions.md +18 -0
- data/docs/GetInvestmentHoldingsResponse.md +4 -4
- data/docs/GetInvestmentTransactionsRequest.md +11 -1
- data/docs/GetInvestmentTransactionsRequestOptions.md +18 -0
- data/docs/GetInvestmentTransactionsResponse.md +4 -4
- data/docs/GetLiabilitiesResponse.md +3 -1
- data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataMx.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenRequest.md +24 -0
- data/docs/MigrateFinancialConnectionsTokenRequestEntity.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenResponse.md +24 -0
- data/docs/SyncFinancialConnectionsDataResponse.md +3 -1
- data/docs/SyncTransactionsResponse.md +5 -3
- data/docs/{GetTransactionsResponseDataInner.md → Transaction.md} +16 -14
- data/docs/{GetTransactionsResponseDataInnerMerchant.md → TransactionMerchant.md} +2 -2
- data/docs/UpdateEntityResponse.md +3 -1
- data/docs/WebhookEvent.md +28 -0
- data/docs/WebhookSource.md +15 -0
- data/docs/WebhookType.md +15 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +181 -197
- data/lib/fuse_client/api_client.rb +1 -1
- data/lib/fuse_client/api_error.rb +1 -1
- data/lib/fuse_client/configuration.rb +39 -18
- data/lib/fuse_client/models/account_subtype.rb +178 -0
- data/lib/fuse_client/models/account_type.rb +45 -0
- data/lib/fuse_client/models/aggregator.rb +3 -3
- data/lib/fuse_client/models/country_code.rb +40 -0
- data/lib/fuse_client/models/create_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/create_asset_report_response.rb +15 -5
- data/lib/fuse_client/models/create_entity_request.rb +1 -1
- data/lib/fuse_client/models/create_entity_response.rb +15 -5
- data/lib/fuse_client/models/create_link_token_request.rb +2 -12
- data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_plaid.rb +1 -1
- data/lib/fuse_client/models/create_link_token_response.rb +12 -2
- data/lib/fuse_client/models/create_session_request.rb +46 -5
- data/lib/fuse_client/models/create_session_response.rb +17 -2
- data/lib/fuse_client/models/{get_transactions_response.rb → currency.rb} +24 -30
- data/lib/fuse_client/models/delete_financial_connection_response.rb +255 -0
- data/lib/fuse_client/models/entity.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +17 -2
- data/lib/fuse_client/models/financial_connection_data.rb +11 -1
- data/lib/fuse_client/models/financial_connection_details.rb +345 -0
- data/lib/fuse_client/models/financial_connection_details_mx.rb +241 -0
- data/lib/fuse_client/models/{get_transactions_request.rb → financial_connection_details_plaid.rb} +19 -23
- data/lib/fuse_client/models/financial_connection_details_teller.rb +241 -0
- data/lib/fuse_client/models/financial_connections_account.rb +59 -14
- data/lib/fuse_client/models/financial_connections_account_balance.rb +21 -6
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +250 -0
- data/lib/fuse_client/models/financial_connections_account_details.rb +11 -1
- data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability.rb +59 -14
- data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
- data/lib/fuse_client/models/financial_connections_holding.rb +52 -23
- data/lib/fuse_client/models/financial_connections_investment_security.rb +92 -24
- data/lib/fuse_client/models/{transaction_common_model.rb → financial_connections_investment_security_exchange.rb} +12 -13
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +158 -10
- data/lib/fuse_client/models/financial_connections_owner.rb +21 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +6 -1
- data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +6 -1
- data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +6 -1
- data/lib/fuse_client/models/financial_institution.rb +22 -5
- data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error.rb +25 -1
- data/lib/fuse_client/models/fuse_api_error_data.rb +24 -2
- data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning_data.rb +24 -2
- data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response.rb +15 -5
- data/lib/fuse_client/models/get_asset_report_response_report.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +1 -1
- data/lib/fuse_client/models/get_entity_response.rb +42 -5
- data/lib/fuse_client/models/get_financial_connection_response.rb +239 -0
- data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_balance_request.rb +14 -5
- data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +222 -0
- data/lib/fuse_client/models/get_financial_connections_balance_response.rb +241 -0
- data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +6 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +334 -0
- data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +256 -0
- data/lib/fuse_client/models/get_financial_institution_response.rb +25 -5
- data/lib/fuse_client/models/get_investment_holdings_request.rb +9 -10
- data/lib/fuse_client/models/get_investment_holdings_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_holdings_response.rb +25 -11
- data/lib/fuse_client/models/get_investment_transactions_request.rb +95 -5
- data/lib/fuse_client/models/get_investment_transactions_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_transactions_response.rb +25 -11
- data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
- data/lib/fuse_client/models/get_liabilities_response.rb +15 -5
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +229 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +236 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +226 -0
- data/lib/fuse_client/models/{financial_connections_investment_account.rb → migrate_financial_connections_token_request.rb} +86 -70
- data/lib/fuse_client/models/{get_financial_connections_account_balance_response.rb → migrate_financial_connections_token_request_entity.rb} +12 -13
- data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +264 -0
- data/lib/fuse_client/models/product.rb +3 -3
- data/lib/fuse_client/models/refresh_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/sync_financial_connections_data_response.rb +15 -5
- data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
- data/lib/fuse_client/models/sync_transactions_response.rb +17 -7
- data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
- data/lib/fuse_client/models/{get_transactions_response_data_inner.rb → transaction.rb} +110 -21
- data/lib/fuse_client/models/{get_transactions_response_data_inner_merchant.rb → transaction_merchant.rb} +4 -4
- data/lib/fuse_client/models/update_entity_request.rb +1 -1
- data/lib/fuse_client/models/update_entity_response.rb +15 -5
- data/lib/fuse_client/models/{financial_connections_investment_transaction_data_inner.rb → webhook_event.rb} +94 -63
- data/lib/fuse_client/models/webhook_source.rb +43 -0
- data/lib/fuse_client/models/webhook_type.rb +42 -0
- data/lib/fuse_client/version.rb +2 -2
- data/lib/fuse_client.rb +30 -9
- data/spec/api/fuse_api_spec.rb +40 -39
- data/spec/api_client_spec.rb +3 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_subtype_spec.rb +28 -0
- data/spec/models/account_type_spec.rb +28 -0
- data/spec/models/aggregator_spec.rb +1 -1
- data/spec/models/country_code_spec.rb +28 -0
- data/spec/models/create_asset_report_request_spec.rb +1 -1
- data/spec/models/create_asset_report_response_spec.rb +7 -1
- data/spec/models/create_entity_request_spec.rb +1 -1
- data/spec/models/create_entity_response_spec.rb +7 -1
- data/spec/models/create_link_token_request_mx_spec.rb +1 -1
- data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
- data/spec/models/create_link_token_request_spec.rb +1 -7
- data/spec/models/create_link_token_response_spec.rb +1 -1
- data/spec/models/create_session_request_spec.rb +25 -1
- data/spec/models/create_session_response_spec.rb +1 -1
- data/spec/models/{get_transactions_response_data_inner_merchant_spec.rb → currency_spec.rb} +13 -7
- data/spec/models/{get_transactions_request_spec.rb → delete_financial_connection_response_spec.rb} +10 -10
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
- data/spec/models/financial_connection_data_spec.rb +1 -1
- data/spec/models/financial_connection_details_mx_spec.rb +40 -0
- data/spec/models/financial_connection_details_plaid_spec.rb +40 -0
- data/spec/models/{financial_connections_investment_transaction_data_inner_spec.rb → financial_connection_details_spec.rb} +18 -14
- data/spec/models/financial_connection_details_teller_spec.rb +40 -0
- data/spec/models/financial_connections_account_balance_spec.rb +7 -1
- data/spec/models/financial_connections_account_cached_balance_spec.rb +52 -0
- data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_spec.rb +1 -1
- data/spec/models/financial_connections_account_institution_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_spec.rb +2 -2
- data/spec/models/financial_connections_account_spec.rb +2 -2
- data/spec/models/financial_connections_holding_spec.rb +4 -4
- data/spec/models/financial_connections_investment_security_exchange_spec.rb +34 -0
- data/spec/models/financial_connections_investment_security_spec.rb +34 -4
- data/spec/models/financial_connections_investment_transaction_spec.rb +62 -2
- data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_spec.rb +1 -1
- data/spec/models/financial_institution_logo_spec.rb +1 -1
- data/spec/models/financial_institution_spec.rb +7 -1
- data/spec/models/fuse_api_error_data_spec.rb +1 -1
- data/spec/models/fuse_api_error_spec.rb +9 -1
- data/spec/models/fuse_api_warning_data_spec.rb +1 -1
- data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +1 -1
- data/spec/models/fuse_api_warning_spec.rb +1 -1
- data/spec/models/get_asset_report_request_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_spec.rb +1 -1
- data/spec/models/get_asset_report_response_spec.rb +7 -1
- data/spec/models/get_entity_response_spec.rb +13 -1
- data/spec/models/get_financial_connection_response_spec.rb +40 -0
- data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_response_spec.rb +7 -1
- data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_accounts_response_spec.rb +7 -1
- data/spec/models/{get_financial_connections_account_balance_response_spec.rb → get_financial_connections_balance_request_options_spec.rb} +8 -8
- data/spec/models/get_financial_connections_balance_request_spec.rb +7 -1
- data/spec/models/get_financial_connections_balance_response_spec.rb +40 -0
- data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +7 -1
- data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_transactions_request_spec.rb +58 -0
- data/spec/models/{get_transactions_response_spec.rb → get_financial_connections_transactions_response_spec.rb} +10 -10
- data/spec/models/get_financial_institution_response_spec.rb +7 -1
- data/spec/models/get_investment_holdings_request_options_spec.rb +34 -0
- data/spec/models/get_investment_holdings_request_spec.rb +2 -2
- data/spec/models/get_investment_holdings_response_spec.rb +2 -2
- data/spec/models/get_investment_transactions_request_options_spec.rb +34 -0
- data/spec/models/get_investment_transactions_request_spec.rb +31 -1
- data/spec/models/get_investment_transactions_response_spec.rb +2 -2
- data/spec/models/get_liabilities_request_spec.rb +1 -1
- data/spec/models/get_liabilities_response_spec.rb +7 -1
- data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +34 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +34 -0
- data/spec/models/migrate_financial_connections_token_request_spec.rb +56 -0
- data/spec/models/migrate_financial_connections_token_response_spec.rb +52 -0
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/refresh_asset_report_request_spec.rb +1 -1
- data/spec/models/sync_financial_connections_data_response_spec.rb +7 -1
- data/spec/models/sync_transactions_request_spec.rb +1 -1
- data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
- data/spec/models/sync_transactions_response_spec.rb +7 -1
- data/spec/models/{transaction_common_model_spec.rb → transaction_merchant_spec.rb} +8 -8
- data/spec/models/{get_transactions_response_data_inner_spec.rb → transaction_spec.rb} +23 -13
- data/spec/models/update_entity_request_spec.rb +1 -1
- data/spec/models/update_entity_response_spec.rb +7 -1
- data/spec/models/{financial_connections_investment_account_spec.rb → webhook_event_spec.rb} +17 -25
- data/spec/models/webhook_source_spec.rb +28 -0
- data/spec/models/webhook_type_spec.rb +28 -0
- data/spec/spec_helper.rb +1 -1
- metadata +118 -34
- data/docs/FinancialConnectionsInvestmentAccount.md +0 -32
- data/docs/FinancialConnectionsInvestmentTransactionDataInner.md +0 -32
- data/docs/GetFinancialConnectionsAccountBalanceResponse.md +0 -18
- data/docs/GetTransactionsRequest.md +0 -22
- data/docs/GetTransactionsResponse.md +0 -22
- data/docs/TransactionCommonModel.md +0 -18
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module FuseClient
|
17
|
+
class WebhookType
|
18
|
+
FINANCIAL_CONNECTION_SYNC_DATA = "financial_connection.sync_data".freeze
|
19
|
+
FINANCIAL_CONNECTION_DISCONNECTED = "financial_connection.disconnected".freeze
|
20
|
+
FINANCIAL_CONNECTION_FINISHED = "financial_connection.finished".freeze
|
21
|
+
TRANSACTION_UPDATES = "transaction.updates".freeze
|
22
|
+
|
23
|
+
def self.all_vars
|
24
|
+
@all_vars ||= [FINANCIAL_CONNECTION_SYNC_DATA, FINANCIAL_CONNECTION_DISCONNECTED, FINANCIAL_CONNECTION_FINISHED, TRANSACTION_UPDATES].freeze
|
25
|
+
end
|
26
|
+
|
27
|
+
# Builds the enum from string
|
28
|
+
# @param [String] The enum value in the form of the string
|
29
|
+
# @return [String] The enum value
|
30
|
+
def self.build_from_hash(value)
|
31
|
+
new.build_from_hash(value)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Builds the enum from string
|
35
|
+
# @param [String] The enum value in the form of the string
|
36
|
+
# @return [String] The enum value
|
37
|
+
def build_from_hash(value)
|
38
|
+
return value if WebhookType.all_vars.include?(value)
|
39
|
+
raise "Invalid ENUM value #{value} for class #WebhookType"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
data/lib/fuse_client/version.rb
CHANGED
data/lib/fuse_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,7 +17,10 @@ require 'fuse_client/version'
|
|
17
17
|
require 'fuse_client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'fuse_client/models/account_subtype'
|
21
|
+
require 'fuse_client/models/account_type'
|
20
22
|
require 'fuse_client/models/aggregator'
|
23
|
+
require 'fuse_client/models/country_code'
|
21
24
|
require 'fuse_client/models/create_asset_report_request'
|
22
25
|
require 'fuse_client/models/create_asset_report_response'
|
23
26
|
require 'fuse_client/models/create_entity_request'
|
@@ -28,12 +31,19 @@ require 'fuse_client/models/create_link_token_request_plaid'
|
|
28
31
|
require 'fuse_client/models/create_link_token_response'
|
29
32
|
require 'fuse_client/models/create_session_request'
|
30
33
|
require 'fuse_client/models/create_session_response'
|
34
|
+
require 'fuse_client/models/currency'
|
35
|
+
require 'fuse_client/models/delete_financial_connection_response'
|
31
36
|
require 'fuse_client/models/entity'
|
32
37
|
require 'fuse_client/models/exchange_financial_connections_public_token_request'
|
33
38
|
require 'fuse_client/models/exchange_financial_connections_public_token_response'
|
34
39
|
require 'fuse_client/models/financial_connection_data'
|
40
|
+
require 'fuse_client/models/financial_connection_details'
|
41
|
+
require 'fuse_client/models/financial_connection_details_mx'
|
42
|
+
require 'fuse_client/models/financial_connection_details_plaid'
|
43
|
+
require 'fuse_client/models/financial_connection_details_teller'
|
35
44
|
require 'fuse_client/models/financial_connections_account'
|
36
45
|
require 'fuse_client/models/financial_connections_account_balance'
|
46
|
+
require 'fuse_client/models/financial_connections_account_cached_balance'
|
37
47
|
require 'fuse_client/models/financial_connections_account_details'
|
38
48
|
require 'fuse_client/models/financial_connections_account_details_ach'
|
39
49
|
require 'fuse_client/models/financial_connections_account_institution'
|
@@ -41,10 +51,9 @@ require 'fuse_client/models/financial_connections_account_liability'
|
|
41
51
|
require 'fuse_client/models/financial_connections_account_liability_all_of'
|
42
52
|
require 'fuse_client/models/financial_connections_account_liability_all_of_aprs'
|
43
53
|
require 'fuse_client/models/financial_connections_holding'
|
44
|
-
require 'fuse_client/models/financial_connections_investment_account'
|
45
54
|
require 'fuse_client/models/financial_connections_investment_security'
|
55
|
+
require 'fuse_client/models/financial_connections_investment_security_exchange'
|
46
56
|
require 'fuse_client/models/financial_connections_investment_transaction'
|
47
|
-
require 'fuse_client/models/financial_connections_investment_transaction_data_inner'
|
48
57
|
require 'fuse_client/models/financial_connections_owner'
|
49
58
|
require 'fuse_client/models/financial_connections_owner_addresses_inner'
|
50
59
|
require 'fuse_client/models/financial_connections_owner_addresses_inner_data'
|
@@ -65,35 +74,47 @@ require 'fuse_client/models/get_asset_report_response_report_accounts_inner'
|
|
65
74
|
require 'fuse_client/models/get_asset_report_response_report_accounts_inner_balances'
|
66
75
|
require 'fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner'
|
67
76
|
require 'fuse_client/models/get_entity_response'
|
68
|
-
require 'fuse_client/models/
|
77
|
+
require 'fuse_client/models/get_financial_connection_response'
|
69
78
|
require 'fuse_client/models/get_financial_connections_account_details_request'
|
70
79
|
require 'fuse_client/models/get_financial_connections_account_details_response'
|
71
80
|
require 'fuse_client/models/get_financial_connections_accounts_request'
|
72
81
|
require 'fuse_client/models/get_financial_connections_accounts_response'
|
73
82
|
require 'fuse_client/models/get_financial_connections_balance_request'
|
83
|
+
require 'fuse_client/models/get_financial_connections_balance_request_options'
|
84
|
+
require 'fuse_client/models/get_financial_connections_balance_response'
|
74
85
|
require 'fuse_client/models/get_financial_connections_owners_request'
|
75
86
|
require 'fuse_client/models/get_financial_connections_owners_response'
|
76
87
|
require 'fuse_client/models/get_financial_connections_owners_response_accounts_inner'
|
88
|
+
require 'fuse_client/models/get_financial_connections_transactions_request'
|
89
|
+
require 'fuse_client/models/get_financial_connections_transactions_response'
|
77
90
|
require 'fuse_client/models/get_financial_institution_response'
|
78
91
|
require 'fuse_client/models/get_investment_holdings_request'
|
92
|
+
require 'fuse_client/models/get_investment_holdings_request_options'
|
79
93
|
require 'fuse_client/models/get_investment_holdings_response'
|
80
94
|
require 'fuse_client/models/get_investment_transactions_request'
|
95
|
+
require 'fuse_client/models/get_investment_transactions_request_options'
|
81
96
|
require 'fuse_client/models/get_investment_transactions_response'
|
82
97
|
require 'fuse_client/models/get_liabilities_request'
|
83
98
|
require 'fuse_client/models/get_liabilities_response'
|
84
|
-
require 'fuse_client/models/
|
85
|
-
require 'fuse_client/models/
|
86
|
-
require 'fuse_client/models/
|
87
|
-
require 'fuse_client/models/
|
99
|
+
require 'fuse_client/models/migrate_financial_connections_aggregator_connection_data'
|
100
|
+
require 'fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx'
|
101
|
+
require 'fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid'
|
102
|
+
require 'fuse_client/models/migrate_financial_connections_token_request'
|
103
|
+
require 'fuse_client/models/migrate_financial_connections_token_request_entity'
|
104
|
+
require 'fuse_client/models/migrate_financial_connections_token_response'
|
88
105
|
require 'fuse_client/models/product'
|
89
106
|
require 'fuse_client/models/refresh_asset_report_request'
|
90
107
|
require 'fuse_client/models/sync_financial_connections_data_response'
|
91
108
|
require 'fuse_client/models/sync_transactions_request'
|
92
109
|
require 'fuse_client/models/sync_transactions_response'
|
93
110
|
require 'fuse_client/models/sync_transactions_response_removed_inner'
|
94
|
-
require 'fuse_client/models/
|
111
|
+
require 'fuse_client/models/transaction'
|
112
|
+
require 'fuse_client/models/transaction_merchant'
|
95
113
|
require 'fuse_client/models/update_entity_request'
|
96
114
|
require 'fuse_client/models/update_entity_response'
|
115
|
+
require 'fuse_client/models/webhook_event'
|
116
|
+
require 'fuse_client/models/webhook_source'
|
117
|
+
require 'fuse_client/models/webhook_type'
|
97
118
|
|
98
119
|
# APIs
|
99
120
|
require 'fuse_client/api/fuse_api'
|
data/spec/api/fuse_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,17 +43,6 @@ describe 'FuseApi' do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
# unit tests for create_entity
|
47
|
-
# Create entity
|
48
|
-
# @param create_entity_request
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @return [CreateEntityResponse]
|
51
|
-
describe 'create_entity test' do
|
52
|
-
it 'should work' do
|
53
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
46
|
# unit tests for create_link_token
|
58
47
|
# Create a link token to start the process of a user connecting to a specific financial institution.
|
59
48
|
# @param [Hash] opts the optional parameters
|
@@ -76,6 +65,17 @@ describe 'FuseApi' do
|
|
76
65
|
end
|
77
66
|
end
|
78
67
|
|
68
|
+
# unit tests for delete_financial_connection
|
69
|
+
# Delete a financial connection
|
70
|
+
# @param financial_connection_id_to_delete
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @return [DeleteFinancialConnectionResponse]
|
73
|
+
describe 'delete_financial_connection test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
79
|
# unit tests for exchange_financial_connections_public_token
|
80
80
|
# API to exchange a public token for an access token and financial connection id
|
81
81
|
# @param [Hash] opts the optional parameters
|
@@ -100,6 +100,7 @@ describe 'FuseApi' do
|
|
100
100
|
|
101
101
|
# unit tests for get_entity
|
102
102
|
# Get entity
|
103
|
+
# An entity is automatically created after a successful connection. The id of the entity is what is set when calling the 'create session' endpoint
|
103
104
|
# @param entity_id
|
104
105
|
# @param [Hash] opts the optional parameters
|
105
106
|
# @return [GetEntityResponse]
|
@@ -109,6 +110,17 @@ describe 'FuseApi' do
|
|
109
110
|
end
|
110
111
|
end
|
111
112
|
|
113
|
+
# unit tests for get_financial_connection
|
114
|
+
# Get financial connection details
|
115
|
+
# @param financial_connection_id
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @return [GetFinancialConnectionResponse]
|
118
|
+
describe 'get_financial_connection test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
112
124
|
# unit tests for get_financial_connections_account_details
|
113
125
|
# Get account details
|
114
126
|
# @param get_financial_connections_account_details_request
|
@@ -135,7 +147,7 @@ describe 'FuseApi' do
|
|
135
147
|
# Get balances
|
136
148
|
# @param get_financial_connections_balance_request
|
137
149
|
# @param [Hash] opts the optional parameters
|
138
|
-
# @return [
|
150
|
+
# @return [GetFinancialConnectionsBalanceResponse]
|
139
151
|
describe 'get_financial_connections_balances test' do
|
140
152
|
it 'should work' do
|
141
153
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -155,9 +167,9 @@ describe 'FuseApi' do
|
|
155
167
|
|
156
168
|
# unit tests for get_financial_connections_transactions
|
157
169
|
# Get transactions
|
158
|
-
# @param
|
170
|
+
# @param get_financial_connections_transactions_request
|
159
171
|
# @param [Hash] opts the optional parameters
|
160
|
-
# @return [
|
172
|
+
# @return [GetFinancialConnectionsTransactionsResponse]
|
161
173
|
describe 'get_financial_connections_transactions test' do
|
162
174
|
it 'should work' do
|
163
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -198,6 +210,18 @@ describe 'FuseApi' do
|
|
198
210
|
end
|
199
211
|
end
|
200
212
|
|
213
|
+
# unit tests for migrate_financial_connection
|
214
|
+
# Migrate financial connection
|
215
|
+
# This endpoint migrates financial connections from Plaid or MX into the unified Fuse API. It accepts a POST request with connection data, aggregator, entity, and Fuse products, and responds with a JSON payload containing the migrated connection's data, access token, ID, and request ID.
|
216
|
+
# @param [Hash] opts the optional parameters
|
217
|
+
# @option opts [MigrateFinancialConnectionsTokenRequest] :migrate_financial_connections_token_request
|
218
|
+
# @return [MigrateFinancialConnectionsTokenResponse]
|
219
|
+
describe 'migrate_financial_connection test' do
|
220
|
+
it 'should work' do
|
221
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
201
225
|
# unit tests for refresh_asset_report
|
202
226
|
# Refreshes the Asset Report in JSON format.
|
203
227
|
# @param [Hash] opts the optional parameters
|
@@ -211,7 +235,7 @@ describe 'FuseApi' do
|
|
211
235
|
|
212
236
|
# unit tests for sync_financial_connections_data
|
213
237
|
# Sync financial connections data
|
214
|
-
# Call this endpoint upon receiving a
|
238
|
+
# Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
|
215
239
|
# @param body
|
216
240
|
# @param [Hash] opts the optional parameters
|
217
241
|
# @return [SyncFinancialConnectionsDataResponse]
|
@@ -221,29 +245,6 @@ describe 'FuseApi' do
|
|
221
245
|
end
|
222
246
|
end
|
223
247
|
|
224
|
-
# unit tests for sync_financial_connections_transactions
|
225
|
-
# Sync transactions
|
226
|
-
# @param sync_transactions_request
|
227
|
-
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [SyncTransactionsResponse]
|
229
|
-
describe 'sync_financial_connections_transactions test' do
|
230
|
-
it 'should work' do
|
231
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
# unit tests for update_entity
|
236
|
-
# Update entity
|
237
|
-
# @param entity_id_to_update
|
238
|
-
# @param update_entity_request
|
239
|
-
# @param [Hash] opts the optional parameters
|
240
|
-
# @return [UpdateEntityResponse]
|
241
|
-
describe 'update_entity test' do
|
242
|
-
it 'should work' do
|
243
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
248
|
# unit tests for v1_financial_connections_liabilities_post
|
248
249
|
# Get liabilities
|
249
250
|
# @param get_liabilities_request
|
data/spec/api_client_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -89,6 +89,8 @@ describe FuseClient::ApiClient do
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
+
|
93
|
+
|
92
94
|
describe '#deserialize' do
|
93
95
|
it "handles Array<Integer>" do
|
94
96
|
api_client = FuseClient::ApiClient.new
|
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::AccountSubtype
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::AccountSubtype do
|
21
|
+
let(:instance) { FuseClient::AccountSubtype.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountSubtype' do
|
24
|
+
it 'should create an instance of AccountSubtype' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::AccountSubtype)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::AccountType
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::AccountType do
|
21
|
+
let(:instance) { FuseClient::AccountType.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountType' do
|
24
|
+
it 'should create an instance of AccountType' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::AccountType)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
#Fuse
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FuseClient::CountryCode
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FuseClient::CountryCode do
|
21
|
+
let(:instance) { FuseClient::CountryCode.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CountryCode' do
|
24
|
+
it 'should create an instance of CountryCode' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::CountryCode)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,4 +37,10 @@ describe FuseClient::CreateAssetReportResponse do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
describe 'test attribute "request_id"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
40
46
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -49,4 +49,10 @@ describe FuseClient::CreateEntityResponse do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe 'test attribute "request_id"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
52
58
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,12 +37,6 @@ describe FuseClient::CreateLinkTokenRequest do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "reconnection_url"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
40
|
describe 'test attribute "client_name"' do
|
47
41
|
it 'should work' do
|
48
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,4 +37,28 @@ describe FuseClient::CreateSessionRequest do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
describe 'test attribute "country_codes"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "entity"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "access_token"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "is_web_view"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
40
64
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,17 +14,23 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for FuseClient::
|
17
|
+
# Unit tests for FuseClient::Currency
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe FuseClient::
|
21
|
-
let(:instance) { FuseClient::
|
20
|
+
describe FuseClient::Currency do
|
21
|
+
let(:instance) { FuseClient::Currency.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(FuseClient::
|
23
|
+
describe 'test an instance of Currency' do
|
24
|
+
it 'should create an instance of Currency' do
|
25
|
+
expect(instance).to be_instance_of(FuseClient::Currency)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "code"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
28
34
|
describe 'test attribute "name"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|