devcycle-ruby-server-sdk 2.6.3 → 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: f75f238d6ef1d432f8404a4d49e6624123275e376252069b4178909d01affd34
4
- data.tar.gz: 93fab8e1602e139defac2e6996b14e83f05ab8d8bc2c2446a948afafb6022b0b
3
+ metadata.gz: 339be985589c9cf266b4407fd9a5204427a15d65ecb038e82ad4d9ecb691d92b
4
+ data.tar.gz: 17f111831f10133475bc0823e63c043f2e264eaa2fd824a6041892da1986f2d8
5
5
  SHA512:
6
- metadata.gz: 2d1c9c4e567097470f656e4dffe0c554376f9027d85a4b3b19a1548d93f5c49364fd8f571e29b745d628f6226c24bc6f9af84b0ab289d3a2a377b6de4963e897
7
- data.tar.gz: 7f56977e54f0b4cdc63168596be914c24cac07efeefbf1cc0627fa0cd47219774931be0c3ce09f692e7e8d4c35fa3d4c67587b5911e4137154ad3f00b894e0bd
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.3'
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.3
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-12-15 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