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


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

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

.find(barcode) ⇒ Object


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

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