Sha256: 39c248a1ba0f56b5d392f028c3830862b49e71a8b3bb6105752a42cbf2c3159f

Contents?: true

Size: 528 Bytes

Versions: 11

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

require_relative '../account_based_expense_line_detail/deserializer'

module LedgerSync
  module QuickBooksOnline
    class ExpenseLine
      class Deserializer < QuickBooksOnline::Deserializer
        id

        amount :Amount
        attribute :Description

        references_one :AccountBasedExpenseLineDetail,
                       hash_attribute: 'AccountBasedExpenseLineDetail',
                       deserializer: AccountBasedExpenseLineDetail::Deserializer
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/expense_line/deserializer.rb