Sha256: 249d1821f0398971e6ae0d584d03db7dcd2e3ae51aaf8dd22aae21169f4148ac
Contents?: true
Size: 928 Bytes
Versions: 2
Compression:
Stored size: 928 Bytes
Contents
module LedgerSync module Adaptors module Test module Expense module Operations class Update < Operation::Update class Contract < LedgerSync::Adaptors::Contract params do required(:external_id).maybe(:string) required(:ledger_id).filled(:string) required(:account).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) required(:line_items).array(Types::Reference) required(:reference_number).filled(:string) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/adaptors/test/expense/operations/update.rb |
ledger_sync-1.1.3 | lib/ledger_sync/adaptors/test/expense/operations/update.rb |