Sha256: 9b9835a2a77a56e633b12bed7aeab76e1f0a1d52cfc499c5b74874f0b9c990bc

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

#
# AUTO GENERATED MODEL
# This model was auto generated by the CanvasSync Gem.
# You can customize it as needed, but make sure you test
# any changes you make to the auto generated methods.
#


class Assignment < ApplicationRecord
  validates :canvas_assignment_id, uniqueness: true, presence: true
  belongs_to :context, polymorphic: true, optional: true, primary_key: :canvas_course_id
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
canvas_sync-0.3.13 spec/dummy/app/models/assignment.rb
canvas_sync-0.3.12 spec/dummy/app/models/assignment.rb