Module: ModelExtensions::MultiplexedLibraryTube

Included in:
MultiplexedLibraryTube
Defined in:
app/api/model_extensions/multiplexed_library_tube.rb

Overview

Note:

This could easily be in-lined in MultiplexedLibraryTube itself

Included in MultiplexedLibraryTube to provide scopes used by the V1 API

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


4
5
6
7
8
# File 'app/api/model_extensions/multiplexed_library_tube.rb', line 4

def self.included(base)
  base.class_eval do
    scope :include_source_request, -> { includes(source_request: %i[uuid_object request_metadata]) }
  end
end