Module: FluidigmFile::Finder

Defined in:
app/models/fluidigm_file.rb

Defined Under Namespace

Classes: Directory

Class Method Summary collapse

Class Method Details

.defaultObject



22
23
24
# File 'app/models/fluidigm_file.rb', line 22

def self.default
  { 'directory' => Directory }.fetch(configatron.fluidigm_data.source)
end

.find(barcode) ⇒ Object



26
27
28
# File 'app/models/fluidigm_file.rb', line 26

def self.find(barcode)
  default.new(barcode)
end