sanger/sequencescape

View on GitHub
app/models/pipeline/inbox_extensions.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
module Pipeline::InboxExtensions
  # Used by the Pipeline class to retrieve the list of requests that are coming into the pipeline.
  def inputs(show_held_requests = false)
    ready_in_storage.send(show_held_requests ? :full_inbox : :pipeline_pending)
  end
end