Sha256: 69d8230f704e55fc6441bf7894eef0037d325146e092081f563fa1a33944972f

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Department < QuickBooksOnline::Resource
        attribute :name, type: Type::String
        attribute :fully_qualified_name, type: Type::String
        attribute :active, type: Type::Boolean
        attribute :sub_department, type: Type::Boolean

        references_one :parent, to: Department
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb