Sha256: b2c6acc20dd5fc9d56968f7f1e3fb4dbba8b144ee357c675587952ddd38e845f

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 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(:hash, Types::Reference)
                required(:memo).maybe(:string)
                required(:transaction_date).maybe(: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/find.rb