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


231
232
233
234
235
236
237
# File 'app/models/submission/flexible_request_graph.rb', line 231

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