6 lines
111 B
Ruby
6 lines
111 B
Ruby
|
class CreditCardBill < ApplicationRecord
|
||
|
def unpaid
|
||
|
amount - Expense.credit_card_monthly_total
|
||
|
end
|
||
|
end
|