app/jobs/cangaroo/job.rb
module Cangaroo
class Job < ActiveJob::Base
include Cangaroo::LoggerHelper
queue_as :cangaroo
def perform?
fail NotImplementedError
end
def source_connection
arguments.first.fetch(:source_connection)
end
def type
arguments.first.fetch(:type)
end
def payload
arguments.first.fetch(:payload)
end
end
end