Sha256: 8f654fdd52d58926eadd9232b7c69e0ed157e28d8c970f727013746fbb0f228b

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

require_relative "../skala"
require_relative "./record"

class Skala::Transaction
  include Virtus.model

  attribute :creation_date, Date
  attribute :description, String
  attribute :reason, Symbol
  attribute :type, Symbol # :credit, :debit
  attribute :value, Float
  attribute :record, Skala::Record
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/transaction.rb