Module: Api::ReferenceGenomeIo::Extensions

Included in:
ReferenceGenome
Defined in:
app/models/api/reference_genome_io.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



12
13
14
# File 'app/models/api/reference_genome_io.rb', line 12

def self.included(base)
  base.class_eval { extend ClassMethods }
end

Instance Method Details

#json_rootObject



16
17
18
# File 'app/models/api/reference_genome_io.rb', line 16

def json_root
  'reference_genome'
end