Class: Dina::MolecularSample

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/dina/models/sequence/molecular_sample.rb

Class Method Summary collapse

Methods inherited from BaseModel

custom_headers, find_by_group, #initialize, properties, site

Constructor Details

This class inherits a constructor from Dina::BaseModel

Class Method Details

.endpoint_pathObject



17
18
19
# File 'lib/dina/models/sequence/molecular_sample.rb', line 17

def self.endpoint_path
  "seqdb-api/"
end

.sample_typeObject



25
26
27
28
29
# File 'lib/dina/models/sequence/molecular_sample.rb', line 25

def self.sample_type
  [
    "DNA"
  ]
end

.table_nameObject



21
22
23
# File 'lib/dina/models/sequence/molecular_sample.rb', line 21

def self.table_name
  "molecular-sample"
end