Sha256: f89a302c14dcc01a86979b2e1311a17dbfe559c3c85900b57c864c268d2b3924

Contents?: true

Size: 548 Bytes

Versions: 4

Compression:

Stored size: 548 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/serializer'

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

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

          references_one 'ParentRef',
                         resource_attribute: :Parent,
                         serializer: Reference::Serializer
        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/serializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/serializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/serializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/serializer.rb