Class: JobProcessor::JobWraper

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/core/web_services/job_processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(job_args, &job) ⇒ JobWraper

Returns a new instance of JobWraper.


34
35
36
37
# File 'lib/msf/core/web_services/job_processor.rb', line 34

def initialize(job_args, &job)
  @job_args = job_args
  @job = job
end

Instance Attribute Details

#jobObject (readonly)

Returns the value of attribute job


31
32
33
# File 'lib/msf/core/web_services/job_processor.rb', line 31

def job
  @job
end

#job_argsObject (readonly)

Returns the value of attribute job_args


32
33
34
# File 'lib/msf/core/web_services/job_processor.rb', line 32

def job_args
  @job_args
end