Sha256: 9f998ab7d76d5fd9009c1ca77843fd6146c398d258ff40d7f5828a9e7d579fd5

Contents?: true

Size: 412 Bytes

Versions: 8

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Department < NetSuite::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

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/resources/department.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/resources/department.rb