Sha256: 8840b56b764a63fdd921aee8d70bbc3732b2fe7e7d7998e0e807f420ad1a2ff2
Contents?: true
Size: 772 Bytes
Versions: 1
Compression:
Stored size: 772 Bytes
Contents
module LedgerSync module Adaptors module Test module Transfer module Operations class Update < Operation::Update class Contract < LedgerSync::Adaptors::Contract params do required(:external_id).maybe(:string) required(:ledger_id).filled(:string) required(:from_account).hash(Types::Reference) required(:to_account).hash(Types::Reference) required(:amount).filled(:integer) required(:currency).filled(:hash, Types::Reference) required(:memo).filled(:string) required(:transaction_date).filled(:date?) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.2 | lib/ledger_sync/adaptors/test/transfer/operations/update.rb |