Module: LifeBoat::Queues
- Defined in:
- lib/lifeboat.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
127 128 129 130 131 132 133 134 |
# File 'lib/lifeboat.rb', line 127 def self.included(base) raise "Object Lacks Proper Callbacks" unless base.respond_to? :after_create base.class_eval do after_create :create_resque_lifeboat after_destroy :destroy_resque_lifeboat after_update :update_resque_lifeboat end end |