Sha256: efd78611873b87f52d1383d2aa8a0c33fec6d43430867b432bd5f54b1b4da473

Contents?: true

Size: 425 Bytes

Versions: 13

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class LedgerClass < QuickBooksOnline::Resource
      attribute :Name, type: Type::String
      attribute :FullyQualifiedName, type: Type::String
      attribute :Active, type: Type::Boolean
      attribute :SubClass, type: Type::Boolean

      references_one :Parent, to: LedgerClass

      def name
        self.Name
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-2.0.0 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/resources/ledger_class.rb