Sha256: 782482bdc28151dbeff677ffdc27448ddbced824463a5edecbc964fe27fd7674
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
module Sis module Core class ExamSetup < ApplicationRecord belongs_to :application_setup validates :date, :hours, :venue, presence: true def name application_setup.academic_programme.name end delegate(:name, to: :application_setup, prefix: true, allow_nil: false) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sis_core-1.0.9 | app/models/sis/core/exam_setup.rb |
sis_core-1.0.8 | app/models/sis/core/exam_setup.rb |
sis_core-1.0.7 | app/models/sis/core/exam_setup.rb |