Class: Dina::MaterialSample
- Inherits:
-
BaseModel
- Object
- JsonApiClient::Resource
- BaseModel
- Dina::MaterialSample
show all
- Defined in:
- lib/dina/models/material_sample.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Methods inherited from BaseModel
custom_headers, #english_description, find_by_group, #french_description, site
Instance Attribute Details
#accepted_types ⇒ Object
Returns the value of attribute accepted_types.
57
58
59
|
# File 'lib/dina/models/material_sample.rb', line 57
def accepted_types
@accepted_types
end
|
Class Method Details
.accepted_types ⇒ Object
67
68
69
70
71
72
73
74
|
# File 'lib/dina/models/material_sample.rb', line 67
def self.accepted_types
[
"WHOLE_ORGANISM",
"ORGANISM_PART",
"MIXED_ORGANISMS",
"MOLECULAR_SAMPLE"
]
end
|
.endpoint_path ⇒ Object
59
60
61
|
# File 'lib/dina/models/material_sample.rb', line 59
def self.endpoint_path
"collection-api/"
end
|
.table_name ⇒ Object
63
64
65
|
# File 'lib/dina/models/material_sample.rb', line 63
def self.table_name
"material-sample"
end
|