Sha256: 9d1f88fdfb48b269b0bcdb1fc9cd48b2dec90be19da0d8d691a383390623c9ba

Contents?: true

Size: 325 Bytes

Versions: 53

Compression:

Stored size: 325 Bytes

Contents

# <%= autogenerated_model_warning %>

class GradingPeriod < ApplicationRecord
  include CanvasSync::Record

  canvas_sync_features :defaults

  validates :canvas_id, uniqueness: true, presence: true
  belongs_to :grading_period_group, primary_key: :canvas_id, foreign_key: :canvas_grading_period_group_id, optional: true
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.8 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.6 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.5 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.4 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.3 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.2 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.1 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta8 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta7 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta6 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta5 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta4 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta3 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta2 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.22.0.beta1 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.21.1 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.21.1.beta1 lib/canvas_sync/generators/templates/models/grading_period.rb
canvas_sync-0.21.0 lib/canvas_sync/generators/templates/models/grading_period.rb