Sha256: ec02539ac24e70a66c23156f26b737cb1b7eafbe8a6e73543f652f3d1afd9522
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
module Rexpense module Entities class Reimbursement < Base [:id, :comments_count, :activities_count].each { |n| attribute n, Integer } [:description, :currency].each { |n| attribute n, String } attribute :amount, Decimal attribute :tags, Array[String] attribute :created_at, DateTime attribute :updated_at, DateTime attribute :payer, Rexpense::Entities::Organization attribute :receiver, Rexpense::Entities::User end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rexpense-2.1.0 | lib/rexpense/entities/reimbursement.rb |
rexpense-2.0.0 | lib/rexpense/entities/reimbursement.rb |
rexpense-1.0.0 | lib/rexpense/entities/reimbursement.rb |