Sha256: 41fe3db54b8ddbf72e3a623675b9910eda59f7421d127144a9b198e68f4fb019

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 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

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb