Sha256: 18cf8f4923ab5301d04c5f855c6e975a710ebad4617304e05288b6b90dfa6db3

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents

module LedgerSync
  module Adaptors
    module Test
      module Customer
        module Operations
          class Update < Operation::Update
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:email).maybe(:string)
                required(:name).filled(:string)
                optional(:phone_number).maybe(:string)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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