Class: ContextModule

Inherits:
ApplicationRecord
  • Object
show all
Includes:
CanvasSync::Concerns::ApiSyncable, CanvasSync::Record
Defined in:
lib/canvas_sync/generators/templates/models/context_module.rb

Overview

A ContextModule is the same as a Canvas Module. They’re called ContextModules for 2 reasons:

1 - Module is a reserved word in Rails and you can't call a model a Module
2 - Canvas calls them ContextModules

Constant Summary

Constants included from CanvasSync::Concerns::ApiSyncable

CanvasSync::Concerns::ApiSyncable::NON_EXISTANT_ERRORS

Method Summary

Methods included from CanvasSync::Concerns::ApiSyncable

#api_sync_options, #assign_from_api_params, #request_from_api, #sync_from_api, #update_from_api_params, #update_from_api_params!

Methods included from CanvasSync::Record

_get_module_parent, define_feature, registered_features

Methods included from CanvasSync::Concerns::SyncMapping

mapping_for