Class: ConflowSpec::FlowContext::JobProductStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/conflow_spec/flow_context.rb

Overview

Simple struct to hold mocked return values of the jobs

Instance Attribute Summary collapse

Instance Attribute Details

#job_classObject

Returns the value of attribute job_class

Returns:

  • (Object)

    the current value of job_class



15
16
17
# File 'lib/conflow_spec/flow_context.rb', line 15

def job_class
  @job_class
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



15
16
17
# File 'lib/conflow_spec/flow_context.rb', line 15

def params
  @params
end

#resultObject

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



15
16
17
# File 'lib/conflow_spec/flow_context.rb', line 15

def result
  @result
end