Class: Taxa::OpenTreeOfLife::Taxonomy

Inherits:
Object
  • Object
show all
Includes:
LabelFormatHelper, About, Mrca, Subtree, TaxonInfo
Defined in:
lib/taxa/open_tree_of_life/taxonomy/base.rb,
lib/taxa/open_tree_of_life/taxonomy/mrca.rb,
lib/taxa/open_tree_of_life/taxonomy/about.rb,
lib/taxa/open_tree_of_life/taxonomy/subtree.rb,
lib/taxa/open_tree_of_life/taxonomy/taxon_info.rb

Overview

Taxonomy api endpoints

Defined Under Namespace

Modules: About, Mrca, Subtree, TaxonInfo

Constant Summary

Constants included from LabelFormatHelper

LabelFormatHelper::SUBTREE_LABEL_FORMATS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from LabelFormatHelper

#get_label_format

Methods included from Subtree

#subtree

Methods included from Mrca

#mrca

Methods included from TaxonInfo

#taxon_info

Methods included from About

#about

Constructor Details

#initialize(http_client) ⇒ Taxonomy

Returns a new instance of Taxonomy.



21
22
23
# File 'lib/taxa/open_tree_of_life/taxonomy/base.rb', line 21

def initialize(http_client)
  @http_client = http_client
end

Instance Attribute Details

#http_clientObject (readonly)

Returns the value of attribute http_client.



19
20
21
# File 'lib/taxa/open_tree_of_life/taxonomy/base.rb', line 19

def http_client
  @http_client
end