Module: Plines::Step::InstanceMethods

Extended by:
Forwardable
Defined in:
lib/plines/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#job_batchObject (readonly)

Returns the value of attribute job_batch.



233
234
235
# File 'lib/plines/step.rb', line 233

def job_batch
  @job_batch
end

#job_dataObject (readonly)

Returns the value of attribute job_data.



233
234
235
# File 'lib/plines/step.rb', line 233

def job_data
  @job_data
end

#qless_jobObject (readonly)

Returns the value of attribute qless_job.



233
234
235
# File 'lib/plines/step.rb', line 233

def qless_job
  @qless_job
end

Instance Method Details

#initialize(job_batch, job_data, qless_job) ⇒ Object



236
237
238
239
240
241
242
# File 'lib/plines/step.rb', line 236

def initialize(job_batch, job_data, qless_job)
  @job_batch = job_batch
  @job_data = job_data
  @qless_job = qless_job
  @enqueued_job = EnqueuedJob.new(qless_job.client,
                                  self.class.pipeline, qless_job.jid)
end