Sha256: c36357c73ec3d7e0652afc21dd9a1ed72eac1df1212f95a33d03bc8561994d9c
Contents?: true
Size: 768 Bytes
Versions: 1
Compression:
Stored size: 768 Bytes
Contents
module LedgerSync module Adaptors module Test module Transfer module Operations class Create < Operation::Create class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) required(:ledger_id).value(:nil) 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/create.rb |