Module: FluidigmFile::Finder

Defined in:
app/models/fluidigm_file.rb

Defined Under Namespace

Classes: Directory, Irods

Class Method Summary collapse

Class Method Details

.defaultObject


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

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

.find(barcode) ⇒ Object


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

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