Sha256: 204dd93e0e34a02818bc3a5a068f9449730382eecb2ec83c4ebb0ba5aacc5e8d

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module Test
      module Customer
        module Operations
          class Valid < Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                optional(:external_id).maybe(:string)
                optional(:ledger_id).maybe(:string)
                optional(:email).maybe(:string)
                optional(:name).maybe(: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/valid.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/test/customer/operations/valid.rb