Sha256: fc1ec9c0574237be54cc61fbb9df176a5091aa0907338f6622c47752829520f2

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

module Sis
  module Core
    class EligibilityCriteria < ApplicationRecord
      belongs_to :clearing_role, class_name: 'Sis::Core::UserRole'
      validates :description, presence: true

      delegate(:name, to: :clearing_role, prefix: true)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sis_core-1.0.20 app/models/sis/core/eligibility_criteria.rb
sis_core-1.0.19 app/models/sis/core/eligibility_criteria.rb
sis_core-1.0.18 app/models/sis/core/eligibility_criteria.rb
sis_core-1.0.17 app/models/sis/core/eligibility_criteria.rb