Sha256: f036061bad4036a5a753695cf74f02c9a6cb0d47d32a6ae4f6c89418b255c71b
Contents?: true
Size: 920 Bytes
Versions: 3
Compression:
Stored size: 920 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module BillLineItem class LedgerSerializer < QuickBooksOnline::LedgerSerializer id attribute ledger_attribute: 'DetailType' do 'AccountBasedExpenseLineDetail' end attribute ledger_attribute: 'AccountBasedExpenseLineDetail.AccountRef.value', resource_attribute: 'account.ledger_id' attribute ledger_attribute: 'AccountBasedExpenseLineDetail.ClassRef.value', resource_attribute: 'ledger_class.ledger_id' attribute ledger_attribute: 'Amount', resource_attribute: :amount, type: LedgerSerializerType::AmountType attribute ledger_attribute: 'Description', resource_attribute: :description end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems