Class: Submission::FlexibleRequestGraph::Doublet

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

Overview

A doublet couples a source asset to a particular qc metric. This allows us to pass the qc_metric downstream, without relying on maintaining assets at each step. This is important as not only to some requests generate their assets on the fly, but we’d need to make sure that we had all appropriate well links and asset links in place.

Instance Attribute Summary collapse

Instance Attribute Details

#assetObject

Returns the value of attribute asset

Returns:

  • (Object)

    the current value of asset



9
10
11
# File 'app/models/submission/flexible_request_graph.rb', line 9

def asset
  @asset
end

#qc_metricObject

Returns the value of attribute qc_metric

Returns:

  • (Object)

    the current value of qc_metric



9
10
11
# File 'app/models/submission/flexible_request_graph.rb', line 9

def qc_metric
  @qc_metric
end