Sha256: d65aa06ecb09dce227ba0994ae3bf3bf762377cc04f6226cbe21f6d8168e329e
Contents?: true
Size: 752 Bytes
Versions: 3
Compression:
Stored size: 752 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(:string) required(:memo).filled(:string) required(:transaction_date).filled(:date?) end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems