Sha256: e4f18ec814a86be07b10bb64fe0fc70c45e2162a8e7c002453e8befd2fda2149

Contents?: true

Size: 666 Bytes

Versions: 7

Compression:

Stored size: 666 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Vendor
        class LedgerSerializer < QuickBooksOnline::LedgerSerializer
          id

          attribute ledger_attribute: 'DisplayName',
                    resource_attribute: :display_name

          attribute ledger_attribute: 'GivenName',
                    resource_attribute: :first_name

          attribute ledger_attribute: 'FamilyName',
                    resource_attribute: :last_name

          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/vendor/ledger_serializer.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb