Module: Marconi::Broadcaster::ClassMethods
- Defined in:
- lib/marconi/broadcaster.rb
Instance Method Summary collapse
Instance Method Details
#master_model_name ⇒ Object
22 23 24 |
# File 'lib/marconi/broadcaster.rb', line 22 def master_model_name @master_model_name end |
#setup ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/marconi/broadcaster.rb', line 13 def setup @master_model_name = self.name.underscore # Callbacks after_update :publish_update after_create :publish_create after_destroy :publish_destroy end |