2014-08-25 10:34:50 -04:00
|
|
|
require 'active_job/core'
|
2014-05-19 04:55:57 -04:00
|
|
|
require 'active_job/queue_adapter'
|
2014-05-19 05:04:23 -04:00
|
|
|
require 'active_job/queue_name'
|
2014-05-19 06:06:09 -04:00
|
|
|
require 'active_job/enqueuing'
|
2014-05-22 14:37:06 -04:00
|
|
|
require 'active_job/execution'
|
2014-05-22 13:33:23 -04:00
|
|
|
require 'active_job/callbacks'
|
2014-05-22 16:38:01 -04:00
|
|
|
require 'active_job/logging'
|
2014-05-18 06:32:22 -04:00
|
|
|
|
2014-05-18 05:44:28 -04:00
|
|
|
module ActiveJob
|
|
|
|
class Base
|
2014-08-25 10:34:50 -04:00
|
|
|
include Core
|
2014-08-26 16:08:49 -04:00
|
|
|
include QueueAdapter
|
2014-06-09 12:49:14 -04:00
|
|
|
include QueueName
|
2014-05-22 13:33:23 -04:00
|
|
|
include Enqueuing
|
2014-05-22 14:37:06 -04:00
|
|
|
include Execution
|
2014-05-22 13:33:23 -04:00
|
|
|
include Callbacks
|
|
|
|
include Logging
|
2014-05-21 17:10:17 -04:00
|
|
|
|
|
|
|
ActiveSupport.run_load_hooks(:active_job, self)
|
2014-05-18 05:44:28 -04:00
|
|
|
end
|
2014-05-20 07:41:14 -04:00
|
|
|
end
|