Sha256: 2cfe3aa5230a5b9df14f476ab0462d5c537bfbf54cdd55b2972958027f2832fc
Contents?: true
Size: 483 Bytes
Versions: 108
Compression:
Stored size: 483 Bytes
Contents
module CoalescingPanda class Enrollment < ActiveRecord::Base belongs_to :user, foreign_key: :coalescing_panda_user_id, class_name: 'CoalescingPanda::User' belongs_to :section, foreign_key: :coalescing_panda_section_id, class_name: 'CoalescingPanda::Section' delegate :account, to: :section validates :coalescing_panda_user_id, presence: true validates :coalescing_panda_section_id, presence: true validates :canvas_enrollment_id, presence: true end end
Version data entries
108 entries across 108 versions & 1 rubygems