Home
Softono

Ruby Server Sdk

Open source Ruby
15
Stars
2
Forks
2
Issues
6
Watchers
3 months
Last Commit

 About Ruby Server Sdk

DevCycle - Ruby Server SDK

Platforms

Web Self-hosted

Languages

Ruby

Need Help Installing Ruby Server Sdk?

We provide expert installation service for this software. Our team will install, configure, and secure Ruby Server Sdk on your server. plans start at just $30.

Ruby Server Sdk

View on GitHub

DevCycle Ruby Server SDK

Welcome to the the DevCycle Ruby SDK, initially generated via the DevCycle Bucketing API.

Installation

Install the gem

gem install devcycle-ruby-server-sdk

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'devcycle-ruby-server-sdk'

# Setup authorization
devcycle_client = DevCycle::Client.new(ENV['DEVCYCLE_SERVER_SDK_KEY'], DevCycle::Options.new, true)
user = DevCycle::User.new({ user_id: 'user_id_example' })

begin
  # Get all features for user data
  result = devcycle_client.all_features(user)
  p result
rescue DevCycle::ApiError => e
  puts "Exception when calling DevCycle::Client->all_features: #{e}"
end

Usage

To find usage documentation, visit our docs.