Sha256: e22c90f0dc40a023276d1863fc4abf03b5bf00aaeb43ee301fbf55d9cd937a9b
Contents?: true
Size: 936 Bytes
Versions: 2
Compression:
Stored size: 936 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module Test module Vendor module Operations class Valid < Operation::Create class Contract < LedgerSync::Adaptors::Contract schema do optional(:external_id).maybe(:string) optional(:ledger_id).maybe(:string) optional(:display_name).maybe(:string) optional(:first_name).maybe(:string) optional(:last_name).maybe(:string) optional(:email).maybe(:string) optional(:company_name).maybe(:string) optional(:phone_number).maybe(:string) optional(:subsidiary).maybe(:hash, Types::Reference) end end private def operate success(response: :foo) 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/vendor/operations/valid.rb |
ledger_sync-1.3.1 | lib/ledger_sync/adaptors/test/vendor/operations/valid.rb |