Sha256: a7b5d5dcfd429aeb2974c19e5d5114c6db78acfe1cfb755ee5bbbf03ea1b0336

Contents?: true

Size: 756 Bytes

Versions: 3

Compression:

Stored size: 756 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(: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

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