module Mumukit::Nuntius
Public Class Methods
content_change_event_name(content_kind)
click to toggle source
# File lib/mumuki/bibliotheca.rb, line 16 def self.content_change_event_name(content_kind) "#{content_kind.to_s.camelize}Changed" end
notify_content_change_event!(content_kind, slug)
click to toggle source
# File lib/mumuki/bibliotheca.rb, line 12 def self.notify_content_change_event!(content_kind, slug) notify_event! content_change_event_name(content_kind), slug: slug.to_s end