Sha256: 0451d5dddc72691da66cd0a06c991b8ada7845fe327f83987608ab8583d0990e
Contents?: true
Size: 403 Bytes
Versions: 6
Compression:
Stored size: 403 Bytes
Contents
module Sis module Core class CreditHourRate < ApplicationRecord belongs_to :programme_level belongs_to :currency validates :rate, presence: true delegate(:name, to: :programme_level, prefix: true, allow_nil: false) delegate(:name, to: :currency, prefix: true, allow_nil: false) delegate(:code, to: :currency, prefix: true, allow_nil: false) end end end
Version data entries
6 entries across 6 versions & 1 rubygems