class Jet::Client::Taxonomy
Taxonomy
client
Public Class Methods
new(client)
click to toggle source
# File lib/jet/client/taxonomy.rb, line 5 def initialize(client) @client = client end
Public Instance Methods
get_links(limit, offset, version = 'v1')
click to toggle source
# File lib/jet/client/taxonomy.rb, line 9 def get_links(limit, offset, version = 'v1') params = { limit: limit, offset: offset } @client.rest_get_with_token("/taxonomy/links/#{version}", params) end
get_node(node_url)
click to toggle source
# File lib/jet/client/taxonomy.rb, line 14 def get_node(node_url) @client.rest_get_with_token(node_url) end
get_node_attributes(node_url)
click to toggle source
# File lib/jet/client/taxonomy.rb, line 18 def get_node_attributes(node_url) @client.rest_get_with_token("#{node_url}/attributes") end