Class: Cangaroo::Job
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Cangaroo::Job
- Includes:
- LoggerHelper
- Defined in:
- app/jobs/cangaroo/job.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from LoggerHelper
Instance Method Details
#payload ⇒ Object
19 20 21 |
# File 'app/jobs/cangaroo/job.rb', line 19 def payload arguments.first.fetch(:payload) end |
#perform? ⇒ Boolean
7 8 9 |
# File 'app/jobs/cangaroo/job.rb', line 7 def perform? fail NotImplementedError end |
#source_connection ⇒ Object
11 12 13 |
# File 'app/jobs/cangaroo/job.rb', line 11 def source_connection arguments.first.fetch(:source_connection) end |
#type ⇒ Object
15 16 17 |
# File 'app/jobs/cangaroo/job.rb', line 15 def type arguments.first.fetch(:type) end |