Sha256: c100c9898f36fa03f2f9a799cc394101d7362e7c9497a18b3e4139245bdea247
Contents?: true
Size: 494 Bytes
Versions: 3
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'customer' require_relative 'ledger_class' require_relative 'vendor' module LedgerSync class DepositLineItem < LedgerSync::Resource references_one :account, to: Account references_one :ledger_class, to: LedgerClass attribute :amount, type: Type::Integer attribute :description, type: Type::String references_one :entity, to: [Customer, Vendor] def name description end end end
Version data entries
3 entries across 3 versions & 1 rubygems