Sha256: 0ed8cf21f70603f2658433ce09931afb18add1752035cfe5d106ea894d125f2e
Contents?: true
Size: 351 Bytes
Versions: 3
Compression:
Stored size: 351 Bytes
Contents
module Sis module Core class ExamSetup < ApplicationRecord belongs_to :application_setup has_many :exams 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.12 | app/models/sis/core/exam_setup.rb |
sis_core-1.0.11 | app/models/sis/core/exam_setup.rb |
sis_core-1.0.10 | app/models/sis/core/exam_setup.rb |