Sha256: e285e790080ad899929216fe359816fd0ef81241af08fb17725f6fc7d4cce609

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Xero
    class Contact
      module Operations
        class Create < Xero::Operation::Create
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).filled(:string)
              required(:ledger_id).value(:nil)
              required(:Name).maybe(:string)
              required(:EmailAddress).maybe(:string)
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-xero-0.1.0 lib/ledger_sync/xero/contact/operations/create.rb