Sha256: fae01f00fb6e76ef8607ebfb0b4b6e2436b5302192b4c6ce6c6c482c37563153
Contents?: true
Size: 433 Bytes
Versions: 25
Compression:
Stored size: 433 Bytes
Contents
# <%= autogenerated_event_warning %> module LiveEvents class ModuleItemEvent < CanvasSync::LiveEvents::BaseHandler def process context_module_item = ContextModuleItem.find_or_initialize_by(canvas_id: payload["module_item_id"]) context_module_item.sync_from_api end end class ModuleItemCreatedEvent < LiveEvents::ModuleItemEvent; end class ModuleItemUpdatedEvent < LiveEvents::ModuleItemEvent; end end
Version data entries
25 entries across 25 versions & 1 rubygems