Class: Taxa::OpenTreeOfLife::TreeOfLife
- Inherits:
-
Object
- Object
- Taxa::OpenTreeOfLife::TreeOfLife
- Includes:
- LabelFormatHelper, About, InducedSubtree, Mrca, NodeInfo, Subtree
- Defined in:
- lib/taxa/open_tree_of_life/tree_of_life/base.rb,
lib/taxa/open_tree_of_life/tree_of_life/mrca.rb,
lib/taxa/open_tree_of_life/tree_of_life/about.rb,
lib/taxa/open_tree_of_life/tree_of_life/subtree.rb,
lib/taxa/open_tree_of_life/tree_of_life/node_info.rb,
lib/taxa/open_tree_of_life/tree_of_life/induced_subtree.rb
Overview
wraps the tree of life API from Open Tree of Life
Defined Under Namespace
Modules: About, InducedSubtree, Mrca, NodeInfo, Subtree
Constant Summary collapse
- SUBTREE_FORMATS =
%w[newick arguson].freeze
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) ⇒ TreeOfLife
constructor
A new instance of TreeOfLife.
Methods included from LabelFormatHelper
Methods included from InducedSubtree
Methods included from Subtree
Methods included from Mrca
Methods included from NodeInfo
Methods included from About
Constructor Details
#initialize(http_client) ⇒ TreeOfLife
Returns a new instance of TreeOfLife.
25 26 27 |
# File 'lib/taxa/open_tree_of_life/tree_of_life/base.rb', line 25 def initialize(http_client) @http_client = http_client end |
Instance Attribute Details
#http_client ⇒ Object (readonly)
Returns the value of attribute http_client.
23 24 25 |
# File 'lib/taxa/open_tree_of_life/tree_of_life/base.rb', line 23 def http_client @http_client end |