* Ignore env.test from source control * Simplification of providers interface * Synth tests * Update money to use new find rates method * Remove unused issues code * Additional issue feature removals * Update price data fetching and tests * Update documentation for providers * Security test fixes * Fix self host test * Update synth usage data access * Remove AI pr schema changes
16 lines
328 B
Ruby
16 lines
328 B
Ruby
module Account::Transaction::Provided
|
|
extend ActiveSupport::Concern
|
|
|
|
def fetch_enrichment_info
|
|
return nil unless Providers.synth # Only Synth can provide this data
|
|
|
|
response = Providers.synth.enrich_transaction(
|
|
entry.name,
|
|
amount: entry.amount,
|
|
date: entry.date
|
|
)
|
|
|
|
response.data
|
|
end
|
|
end
|