Class: Msf::WebServices::JobProcessor::JobWraper
- Inherits:
-
Object
- Object
- Msf::WebServices::JobProcessor::JobWraper
- Defined in:
- lib/msf/core/web_services/job_processor.rb
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
Returns the value of attribute job.
-
#job_args ⇒ Object
readonly
Returns the value of attribute job_args.
Instance Method Summary collapse
-
#initialize(job_args, &job) ⇒ JobWraper
constructor
A new instance of JobWraper.
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
#job ⇒ Object (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_args ⇒ Object (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 |