Sha256: 2bc741c9282155f75cfb9734582aa0b94a822e3126d8586695d0c923772f7c23

Contents?: true

Size: 748 Bytes

Versions: 3

Compression:

Stored size: 748 Bytes

Contents

module LedgerSync
  module Adaptors
    module Test
      module Transfer
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema 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).maybe(:integer)
                required(:currency).maybe(:string)
                required(:memo).maybe(:string)
                required(:transaction_date).maybe(:date?)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/test/transfer/operations/find.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/test/transfer/operations/find.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/test/transfer/operations/find.rb