lib/canvas_sync/generators/templates/models/term.rb in canvas_sync-0.12.0 vs lib/canvas_sync/generators/templates/models/term.rb in canvas_sync-0.13.0

- old
+ new

@@ -1,8 +1,9 @@ # <%= autogenerated_model_warning %> class Term < ApplicationRecord - include CanvasSync::ApiSyncable + include CanvasSync::Record + include CanvasSync::Concerns::ApiSyncable validates :canvas_id, uniqueness: true, presence: true has_many :courses, foreign_key: :canvas_term_id, primary_key: :canvas_id api_syncable({