lib/ledger_sync/adaptors/test/customer/operations/valid.rb in ledger_sync-1.1.1 vs lib/ledger_sync/adaptors/test/customer/operations/valid.rb in ledger_sync-1.1.2

- old
+ new

@@ -1,23 +1,20 @@ +# 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 - - private - - def operate - success(response: :foo) end end end end end