Sha256: e13b892bf35b6e49b63580d38763e2231276979c0345ca7d1f7c7ed8544b232f

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

require_relative '../deposit_line_detail/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class DepositLine
        class Deserializer < QuickBooksOnline::Deserializer
          id

          amount :Amount
          attribute :Description

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/deposit_line/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/deposit_line/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/deposit_line/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/deposit_line/deserializer.rb