devcycle-ruby-server-sdk 2.6.2 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339be985589c9cf266b4407fd9a5204427a15d65ecb038e82ad4d9ecb691d92b
|
4
|
+
data.tar.gz: 17f111831f10133475bc0823e63c043f2e264eaa2fd824a6041892da1986f2d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b02d9c440efd5eaf673a50dd94b71ed14edf4fcd8d08c0ee21d68626470664a9c0c3daf1fb6c0f01478da66b7195bba0b474a4264a91df50a7ead0ad7f1dc5fd
|
7
|
+
data.tar.gz: 13079629f20070367b1bbb87b84b3d1579bce357e2255857cae86707c4fb205d6f9a13f7d56daeaaf278c6a82b82411bc72e5855d455575b4c21dfcda1b5b6d2
|
data/README.md
CHANGED
@@ -18,17 +18,12 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
18
18
|
require 'devcycle-ruby-server-sdk'
|
19
19
|
|
20
20
|
# Setup authorization
|
21
|
-
DevCycle.
|
22
|
-
|
23
|
-
config.api_key['bearerAuth'] = 'YOUR API KEY'
|
24
|
-
end
|
25
|
-
|
26
|
-
api_instance = DevCycle::Client.new
|
27
|
-
user = DevCycle::User.new({ user_id: 'user_id_example' }) # User |
|
21
|
+
devcycle_client = DevCycle::Client.new(ENV['DEVCYCLE_SERVER_SDK_KEY'], DevCycle::Options.new, true)
|
22
|
+
user = DevCycle::User.new({ user_id: 'user_id_example' })
|
28
23
|
|
29
24
|
begin
|
30
|
-
#Get all features for user data
|
31
|
-
result =
|
25
|
+
# Get all features for user data
|
26
|
+
result = devcycle_client.all_features(user)
|
32
27
|
p result
|
33
28
|
rescue DevCycle::ApiError => e
|
34
29
|
puts "Exception when calling DevCycle::Client->all_features: #{e}"
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devcycle-ruby-server-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DevCycleHQ
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|