Skip to content

Tggl/ruby-tggl-client

Repository files navigation

Tggl Logo

Tggl Ruby SDK

The Ruby SDK can be used to evaluate flags and report usage to the Tggl API or a proxy.

🔗 Website📚 Documentation📦 RubyGem🎥 Videos

Usage

Install the dependency:

gem install tggl

Start evaluating flags:

require "tggl" $client = Tggl::Client.new("YOUR_API_KEY") # An API call to Tggl is performed here $flags = $client.eval_context({ userId: "abc", email: "foo@gmail.com", country: "FR", # ... }) if $flags.is_active? "my-feature" # ... end if $flags.get "my-feature" == "Variation A" # ... end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published