module LedgerSync class DepositLineItem < LedgerSync::Resource references_one :account, to: Account attribute :amount, type: Type::Integer attribute :description, type: Type::String def name description end end end