Sha256: 6e968568fc7973d6de39667e4dface6c0dc6981b20256d021449e834af78e950

Contents?: true

Size: 646 Bytes

Versions: 7

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Customer
        class LedgerSerializer < QuickBooksOnline::LedgerSerializer
          id  ledger_attribute: 'Id',
              resource_attribute: :ledger_id

          attribute ledger_attribute: 'DisplayName',
                    resource_attribute: :name

          attribute ledger_attribute: 'PrimaryPhone.FreeFormNumber',
                    resource_attribute: :phone_number

          attribute ledger_attribute: 'PrimaryEmailAddr.Address',
                    resource_attribute: :email
        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/customer/ledger_serializer.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb