Sha256: bab7a3996fe77777f0569ec0cf6a97006cfa1eb77d7f5cdb4a6196a489020d5d

Contents?: true

Size: 654 Bytes

Versions: 3

Compression:

Stored size: 654 Bytes

Contents

# frozen_string_literal: true

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

          attribute :name,
                    hash_attribute: 'Name'

          attribute :active,
                    hash_attribute: 'Active'

          attribute :sub_class,
                    hash_attribute: 'SubClass'

          attribute :fully_qualified_name,
                    hash_attribute: 'FullyQualifiedName'

          attribute 'parent.ledger_id',
                    hash_attribute: 'ParentRef.value'

        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb