Sha256: 5b23aa336cf74dc924178cdc20be0bef4cb371101957b1330c6f33925ff3c800
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
require_relative "../skala" require_relative "./record" class Skala::HoldRequest include Virtus.model attribute :id, String attribute :deleteable, Boolean, default: false attribute :place_in_queue, Integer, default: 0 attribute :record_id, String attribute :creation_date, Date attribute :begin_request_date, Date attribute :end_request_date, Date attribute :begin_hold_date, Date attribute :end_hold_date, Date attribute :record, Skala::Record attribute :status, Symbol # Make sure nil values def place_in_queue=(value) super(value || 0) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skala-1.1.0 | lib/skala/hold_request.rb |