Method: LiveEvents::SyllabusEvent#process
- Defined in:
- lib/canvas_sync/generators/templates/services/live_events/syllabus_event.rb
#process ⇒ Object
6 7 8 9 10 11 |
# File 'lib/canvas_sync/generators/templates/services/live_events/syllabus_event.rb', line 6 def process # syllabus = Syllabus.where(course_id: attrs[:course_id]).first_or_initialize # syllabus.body = attrs[:syllabus_body] # Syllabus Body can get truncated by live events # syllabus.save! raise "process must be implemented in your subclass" end |