Sha256: cc4969cc2763fc63bbcf2f4ec0db47312c14ce7f7901c7f63f1124c046b2d5b0

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

module LedgerSync
  module Adaptors
    module Test
      module Customer
        module Operations
          class Invalid < Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:email).filled(:string)
                required(:name).filled(:string)
                required(:phone_number).filled(:string)
                required(:subsidiary).hash(Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.3.2 lib/ledger_sync/adaptors/test/customer/operations/invalid.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/test/customer/operations/invalid.rb