Class: Submission::LinearRequestGraph::SourceData

Inherits:
Struct
  • Object
show all
Defined in:
app/models/submission/linear_request_graph.rb

Overview

Source data is used to pass information down the request graph asset

Instance Attribute Summary collapse

Instance Attribute Details

#assetReceptacle?

The asset from which the request will be build. nil indicates no upstream asset in cases where target assets are generated later.

Returns:

  • (Receptacle, nil)

    the current value of asset



13
14
15
# File 'app/models/submission/linear_request_graph.rb', line 13

def asset
  @asset
end

#qc_metricQcMetric

The Qc Metric associated with this asset for this request type

Returns:

  • (QcMetric)

    the current value of qc_metric



13
14
15
# File 'app/models/submission/linear_request_graph.rb', line 13

def qc_metric
  @qc_metric
end

#sampleObject

Returns the value of attribute sample

Returns:

  • (Object)

    the current value of sample



13
14
15
# File 'app/models/submission/linear_request_graph.rb', line 13

def sample
  @sample
end