Sha256: 432684d75795b5db4add371021c361b318a863a11db1d6d0334095f009601405

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class LedgerClass
        class Deserializer < QuickBooksOnline::Deserializer
          id

          attribute :Name
          attribute :Active
          attribute :SubClass
          attribute :FullyQualifiedName

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb