Sha256: 1a381b9879cc3b9123fb7e47a3e1c368b142f289a13175167d15f73a3b05bf46
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
require 'active_job' require 'active_support/core_ext/module/introspection' module KittyEvents class HandleWorker < ActiveJob::Base def perform(event, object) if self.class.respond_to?(:module_parent) self.class.module_parent.handle(event, object) else self.class.parent.handle(event, object) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kitty_events-0.1.1 | lib/kitty_events/handle_worker.rb |