Class: Taxa::OpenTreeOfLife::TNRS

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from InferContext

#infer_context

Methods included from Contexts

#contexts

Methods included from AutocompleteName

#autocomplete_name

Methods included from MatchNames

#match_names

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_clientObject (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