Sha256: e5bcd29a744eddc1c1f4a1047a99120c0f5a63d6bc76af49c4d4db2e81468444

Contents?: true

Size: 541 Bytes

Versions: 7

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module LedgerSerializerType
        class ClassificationType < Adaptors::LedgerSerializerType::MappingType
          MAPPING = {
            'asset' => 'Asset',
            'equity' => 'Equity',
            'expense' => 'Expense',
            'liability' => 'Liability',
            'revenue' => 'Revenue'
          }.freeze

          def self.mapping
            @mapping ||= MAPPING
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb