Module: Submission::FlexibleRequestGraph::OrderMethods

Included in:
FlexibleSubmission
Defined in:
app/models/submission/flexible_request_graph.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details

#build_request_graph!(multiplexing_assets = nil) ⇒ Object


223
224
225
226
227
228
229
# File 'app/models/submission/flexible_request_graph.rb', line 223

def build_request_graph!(multiplexing_assets = nil)
  ActiveRecord::Base.transaction do
    chain = RequestChain.new(self, assets, multiplexing_assets)
    chain.build!
    chain.multiplexing_assets if chain.multiplexed?
  end
end