Sha256: 552d409c3f27430a86c3b866fd2c3ca4e19069263ab8ba1423d2338e8ace9a44

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

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

          attribute 'Name',
                    resource_attribute: :name
          attribute 'Active',
                    resource_attribute: :active
          attribute 'SubClass',
                    resource_attribute: :sub_class
          attribute 'FullyQualifiedName',
                    resource_attribute: :fully_qualified_name
          attribute 'ParentRef.value',
                    resource_attribute: 'parent.ledger_id'
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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