Sha256: 21e53ea4084c2d148d4ce97e1da854ce89f41f5cc817551ce895fa9b8a68711c
Contents?: true
Size: 933 Bytes
Versions: 7
Compression:
Stored size: 933 Bytes
Contents
# DevCycle Ruby Server SDK Welcome to the the DevCycle Ruby SDK, initially generated via the [DevCycle Bucketing API](https://docs.devcycle.com/bucketing-api/#tag/devcycle). ## Installation Install the gem `gem install devcycle-ruby-server-sdk` ## Getting Started Please follow the [installation](#installation) procedure and then run the following code: ```ruby # 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](https://docs.devcycle.com/docs/sdk/server-side-sdks/ruby#usage).
Version data entries
7 entries across 7 versions & 1 rubygems