Sha256: b60d4c580e08e47338dc9d71c483d227de2756ea3b04e2a737b1f236b9c0b737

Contents?: true

Size: 461 Bytes

Versions: 10

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Department
      class Deserializer < QuickBooksOnline::Deserializer
        id

        attribute :Name
        attribute :Active
        attribute :SubDepartment
        attribute :FullyQualifiedName

        references_one :Parent,
                       hash_attribute: 'ParentRef',
                       deserializer: Reference::Deserializer
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/department/deserializer.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/department/deserializer.rb