Class: Taxa::OpenTreeOfLife::Taxonomy
- Inherits:
-
Object
- Object
- Taxa::OpenTreeOfLife::Taxonomy
- 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
-
#http_client ⇒ Object
readonly
Returns the value of attribute http_client.
Instance Method Summary collapse
-
#initialize(http_client) ⇒ Taxonomy
constructor
A new instance of Taxonomy.
Methods included from LabelFormatHelper
Methods included from Subtree
Methods included from Mrca
Methods included from TaxonInfo
Methods included from 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_client ⇒ Object (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 |