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


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

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


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

def qc_metric
  @qc_metric
end

#sampleObject

Returns the value of attribute sample

Returns:

  • (Object)

    the current value of sample


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

def sample
  @sample
end