Module: Tana

Defined in:
lib/tana.rb,
lib/tana/client.rb,
lib/tana/import.rb,
lib/tana/container.rb,
lib/tana/api/client.rb,
lib/tana/models/node.rb,
lib/tana/models/root.rb,
lib/tana/requests/add.rb,
lib/tana/requests/node.rb,
lib/tana/responses/node.rb,
lib/tana/responses/root.rb,
lib/tana/requests/level_a.rb,
lib/tana/requests/level_b.rb,
lib/tana/requests/level_c.rb,
lib/tana/requests/level_d.rb,
lib/tana/requests/level_e.rb,
lib/tana/requests/level_f.rb,
lib/tana/requests/level_g.rb,
lib/tana/requests/level_h.rb,
lib/tana/requests/level_i.rb,
lib/tana/responses/level_a.rb,
lib/tana/responses/level_b.rb,
lib/tana/responses/level_c.rb,
lib/tana/responses/level_d.rb,
lib/tana/responses/level_e.rb,
lib/tana/responses/level_f.rb,
lib/tana/responses/level_g.rb,
lib/tana/responses/level_h.rb,
lib/tana/responses/level_i.rb,
lib/tana/configuration/loader.rb,
lib/tana/endpoints/add/action.rb,
lib/tana/configuration/content.rb

Overview

Main namespace.

Defined Under Namespace

Modules: API, Configuration, Container, Endpoints, Models, Requests, Responses Classes: Client

Constant Summary collapse

Import =
Infusible[Container]

Class Method Summary collapse

Class Method Details

.loader(registry = Zeitwerk::Registry) ⇒ Object



19
20
21
# File 'lib/tana.rb', line 19

def self.loader registry = Zeitwerk::Registry
  @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
end

.newObject



23
# File 'lib/tana.rb', line 23

def self.new(...) = Client.new(...)