lib/ledger_sync/adaptors/test/expense/operations/update.rb in ledger_sync-1.1.2 vs lib/ledger_sync/adaptors/test/expense/operations/update.rb in ledger_sync-1.1.3
- old
+ new
@@ -7,10 +7,10 @@
class Contract < LedgerSync::Adaptors::Contract
params do
required(:external_id).maybe(:string)
required(:ledger_id).filled(:string)
required(:account).hash(Types::Reference)
- required(:vendor).hash(Types::Reference)
+ required(:entity).hash(Types::Reference)
required(:currency).filled(:string)
required(:memo).filled(:string)
required(:payment_type).filled(:string)
required(:transaction_date).filled(:date?)
required(:exchange_rate).maybe(:float)