Sha256: aadd701f63ffb079752b80cbd0ab18ee6f5dd701a0c64b8054236c9677d05c7b
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
module ExampleHandler extend Bluth::Handler queue :critical # :hostid => String # :force => Boolean (update all monitors) def self.enqueue(opts={}) super opts, opts.delete(:queue) end def self.perform(data={}) begin rescue => ex end end end class ExampleWorker < Bluth::Worker end Bluth::Worker.onstart do puts "onstart called" end Bluth::Worker.onexit do puts "onexit called" end
Version data entries
6 entries across 6 versions & 1 rubygems