Class: Tana::API::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/tana/api/client.rb

Overview

A low-level API client for making basic HTTP requests.

Instance Method Summary collapse

Instance Method Details

#post(path, body = nil, **parameters) ⇒ Object



12
13
14
# File 'lib/tana/api/client.rb', line 12

def post path, body = nil, **parameters
  call __method__, path, json: body, params: parameters
end