
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
TogaiClient - the Ruby gem for the Togai Apis
Togai is an end to end pricing infrastructure that enable you with metering, aggregating, pricing and billing for your application.
This is an official Ruby client library for using Togai APIs.
Add this line to your application's Gemfile:
gem 'togai_client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install togai_client
To get started with the library, you need to create a api token from your Togai Account Please follow the installation procedure and then run the following code:
# Load the gem
require 'togai_client'
# Setup authorization
TogaiClient.configure do |config|
# Configure Bearer authorization (Bearer <credential>): bearerAuth
config.access_token = 'YOUR_BEARER_TOKEN'
end
api_instance = TogaiClient::AccountsApi.new
account_id = 'ACC00001' # String | account_id corresponding to an account
add_account_aliases_request = TogaiClient::AddAccountAliasesRequest.new # AddAccountAliasesRequest | Payload to add aliases to account
begin
#Add Aliases to account
result = api_instance.add_aliases(account_id, add_account_aliases_request)
p result
rescue TogaiClient::ApiError => e
puts "Exception when calling AccountsApi->add_aliases: #{e}"
end
FAQs
Unknown package
We found that togai_client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.