Class: Tenios::API::Client
- Inherits:
-
Object
- Object
- Tenios::API::Client
- Defined in:
- lib/tenios/api/client.rb
Constant Summary collapse
- URL =
"https://api.tenios.com"
Instance Method Summary collapse
-
#initialize(access_key:, url: URL) ⇒ Client
constructor
A new instance of Client.
- #post(path, **payload) ⇒ Object private
Constructor Details
Instance Method Details
#post(path, **payload) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 |
# File 'lib/tenios/api/client.rb', line 37 def post(path, **payload) @http_client.post(path, payload.merge(access_key: @access_key)).body end |