Module: FluidigmFile::Finder

Defined in:
app/models/fluidigm_file.rb

Overview

rubocop:todo Style/Documentation

Defined Under Namespace

Classes: Directory, Irods

Class Method Summary collapse

Class Method Details

.defaultObject


39
40
41
# File 'app/models/fluidigm_file.rb', line 39

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

.find(barcode) ⇒ Object


43
44
45
# File 'app/models/fluidigm_file.rb', line 43

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