Module: Mongoid::Publishable::Queuing
- Defined in:
- lib/mongoid/publishable/queuing.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/mongoid/publishable/queuing.rb', line 6 def self.included(base) base.class_eval do before_filter :deserialize_publishing_queue after_filter :serialize_publishing_queue attr_reader :publishing_queue end base.send(:include, InstanceMethods) end |