Class: Qe::DelayedJob::Worker

Inherits:
Struct
  • Object
show all
Defined in:
lib/qe/delayed_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



6
7
8
# File 'lib/qe/delayed_job.rb', line 6

def options
  @options
end

#worker_nameObject

Returns the value of attribute worker_name

Returns:

  • (Object)

    the current value of worker_name



6
7
8
# File 'lib/qe/delayed_job.rb', line 6

def worker_name
  @worker_name
end

Instance Method Details

#performObject



7
8
9
# File 'lib/qe/delayed_job.rb', line 7

def perform
  Qe::Worker.perform(worker_name, options)
end