Sha256: 0634c8340a31f334a7a2ab75a3bcc3d2dc0e2659d0836a641063be411f79c1a0
Contents?: true
Size: 1007 Bytes
Versions: 19
Compression:
Stored size: 1007 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.configure do |config| # Configure API key authorization config.api_key['bearerAuth'] = 'YOUR API KEY' end api_instance = DevCycle::DVCClient.new user_data = DevCycle::UserData.new({user_id: 'user_id_example'}) # UserData | begin #Get all features for user data result = api_instance.all_features(user_data) p result rescue DevCycle::ApiError => e puts "Exception when calling DVCClient->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
19 entries across 19 versions & 1 rubygems