Sha256: 0daea2151a6e3c548902176b19278e6d3f45bae705474581ae3fa328659e978a

Contents?: true

Size: 337 Bytes

Versions: 23

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    class Contract < Dry::Validation::Contract
      module Types
        include Dry::Types()

        Reference = Dry::Schema.Params do
          required(:object).filled(eql?: :reference)
          required(:id).filled(:string)
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ledger_sync-3.0.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.6.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.5.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.4.4 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.3.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.2.3 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.2.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.2.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.0.2 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.0.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.0.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-2.0.0.pre.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.8.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.8.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.7.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.6.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/contract.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/contract.rb