Class: LiveEvents::ModuleEvent
- Inherits:
-
BaseEvent
- Object
- ActiveJob::Base
- CanvasSync::Job
- BaseEvent
- LiveEvents::ModuleEvent
- Defined in:
- lib/canvas_sync/generators/templates/services/live_events/module/module_event.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from BaseEvent
Instance Method Summary collapse
-
#perform(_event_payload) ⇒ Object
The following is provided in the live events call: { module_id, context_id, context_type, name, position, workflow_state, }.
Methods inherited from BaseEvent
Methods inherited from CanvasSync::Job
#create_job_log, #report_checker_wait_time
Instance Method Details
#perform(_event_payload) ⇒ Object
The following is provided in the live events call:
module_id,
context_id,
context_type,
name,
position,
workflow_state,
15 16 17 18 |
# File 'lib/canvas_sync/generators/templates/services/live_events/module/module_event.rb', line 15 def perform(_event_payload) super create_or_update_from_api(payload) end |