Module: Submission::FlexibleRequestGraph::OrderMethods

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

Instance Method Summary collapse

Instance Method Details

#build_request_graph!(multiplexing_assets = nil) ⇒ Object


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

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