Sha256: e66df9604360f10dfadd2d0dc7051942cd74385812fa5d7067a2f2da7374770b

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

require_relative 'bill'

module LedgerSync
  class BillPaymentLineItem < LedgerSync::Resource
    attribute :amount, type: Type::Integer

    references_many :ledger_transactions, to: [Bill]

    def name
      amount
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/resources/bill_payment_line_item.rb
ledger_sync-1.3.4 lib/ledger_sync/resources/bill_payment_line_item.rb