Sha256: cdd7058e21e6291e9a10cbf73cfeacc29ff5efd86c41edc9c2765ae8a7f4bc1c

Contents?: true

Size: 580 Bytes

Versions: 4

Compression:

Stored size: 580 Bytes

Contents

# frozen_string_literal: true

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

          attribute 'DisplayName',
                    resource_attribute: :display_name

          attribute 'GivenName',
                    resource_attribute: :first_name

          attribute 'FamilyName',
                    resource_attribute: :last_name

          attribute 'PrimaryEmailAddr.Address',
                    resource_attribute: :email
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb