Class: Taxa::OpenTreeOfLife::TNRS
- Inherits:
-
Object
- Object
- Taxa::OpenTreeOfLife::TNRS
- Includes:
- AutocompleteName, Contexts, InferContext, MatchNames
- Defined in:
- lib/taxa/open_tree_of_life/tnrs/base.rb,
lib/taxa/open_tree_of_life/tnrs/contexts.rb,
lib/taxa/open_tree_of_life/tnrs/match_names.rb,
lib/taxa/open_tree_of_life/tnrs/infer_context.rb,
lib/taxa/open_tree_of_life/tnrs/autocomplete_name.rb
Overview
TNRS api endpoints
Defined Under Namespace
Modules: AutocompleteName, Contexts, InferContext, MatchNames
Instance Attribute Summary collapse
-
#http_client ⇒ Object
readonly
Returns the value of attribute http_client.
Instance Method Summary collapse
-
#initialize(http_client) ⇒ TNRS
constructor
A new instance of TNRS.
Methods included from InferContext
Methods included from Contexts
Methods included from AutocompleteName
Methods included from MatchNames
Constructor Details
#initialize(http_client) ⇒ TNRS
Returns a new instance of TNRS.
19 20 21 |
# File 'lib/taxa/open_tree_of_life/tnrs/base.rb', line 19 def initialize(http_client) @http_client = http_client end |
Instance Attribute Details
#http_client ⇒ Object (readonly)
Returns the value of attribute http_client.
17 18 19 |
# File 'lib/taxa/open_tree_of_life/tnrs/base.rb', line 17 def http_client @http_client end |