Module: Taxa::OpenTreeOfLife::Taxonomy::About

Included in:
Taxa::OpenTreeOfLife::Taxonomy
Defined in:
lib/taxa/open_tree_of_life/taxonomy/about.rb

Overview

tree of life about api endpoint

Instance Method Summary collapse

Instance Method Details

#aboutObject



10
11
12
13
# File 'lib/taxa/open_tree_of_life/taxonomy/about.rb', line 10

def about
  response = @http_client.post('https://api.opentreeoflife.org/v3/taxonomy/about')
  JSON.parse(response.body)
end