Sha256: 99e973930081e1a774fa39e34261b207301d61acf11b23b1a9a25be4c614ee91

Contents?: true

Size: 751 Bytes

Versions: 18

Compression:

Stored size: 751 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module TestLedger
      class Customer
        module Operations
          class Update < TestLedger::Operation::Update
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:name).filled(:string)
                optional(:email).maybe(:string)
                optional(:date).maybe(:string)
                required(:subsidiaries).maybe(:hash, Types::Reference)
                required(:subsidiary).maybe(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ledger_sync-3.0.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.6.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.5.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.4.4 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.3.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.2.3 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.2.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.2.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.0.2 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.0.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.0.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-2.0.0.pre.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.8.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.8.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.7.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.6.0 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.5.2 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb
ledger_sync-1.5.1 lib/ledger_sync/test/support/test_ledger/customer/operations/update.rb