activejob/lib/active_job/core.rb
# Returns a hash with the job data that can safely be passed to the
# queueing adapter.
Returns a hash with the job data that can safely be passed to the
queueing adapter.
Returns a hash with the job data that can safely be passed to the queueing adapter .
def serialize
      {
        'job_class'  => self.class.name,
        'job_id'     => job_id,
        'queue_name' => queue_name,
        'arguments'  => serialize_arguments(arguments)
      }
    end
def serialize { 'job_class' => self . class . name , 'job_id' => job_id , 'queue_name' => queue_name , 'arguments' => serialize_arguments ( arguments ) } end
Returns a hash with the job data that can safely be passed to the
queueing adapter.
Returns a hash with the job data that can safely be passed to the queueing adapter .