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: 1fa91e23d821d44c6d7190d5522361667782f79498a294bc131b7e849afd5ef7
4
- data.tar.gz: 3e531195e0deb8a4fe8d41af652907c2812bbe20a730d06733ba6e74f247bb33
3
+ metadata.gz: 339be985589c9cf266b4407fd9a5204427a15d65ecb038e82ad4d9ecb691d92b
4
+ data.tar.gz: 17f111831f10133475bc0823e63c043f2e264eaa2fd824a6041892da1986f2d8
5
5
  SHA512:
6
- metadata.gz: 8db7f6ce31d8d133d155f2c0f7c632e8a96280bb04d62e133678f4d0dda4e9c4c5ae487f801d0f5b50f799527b22e4af76316932e5b2e5493e09adef57a14438
7
- data.tar.gz: c8785d7737037427fd65d9601b09c24eff5316be7888a8a5ee89a5086cf6fee4a2969e480ca54d78ecb8c1549ea55d48fe71ee48e5e0f9b7ccb5670d744905f8
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.configure do |config|
22
- # Configure API key authorization
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 = api_instance.all_features(user)
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}"
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.6.2'
14
+ VERSION = '2.7.0'
15
15
  end
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.6.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: 2023-10-25 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus