statsig 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/statsig_user.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa654e5e38fb3bafb462d436b257be7272cf35137de66a35c5612c9d222f43c3
|
4
|
+
data.tar.gz: 53da821265e6f80ffc3faf3d0629144fb76b6c19bd06742da54c071cc5140aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0798bccca61d7e0cce8c56fb08c1b04bf5c214cdd37a45ba9a876999fa51eec7e18283837a0710628c8d573678b30774e5083961d8f0ae26766c2b0ed5cd85dd'
|
7
|
+
data.tar.gz: d7a710783695f0cbefff5475415aaf7020c7ab557b0eafe5752c1dcad73cb0fc23c86f77b18de44fae4c029b30788474aac5141a8471f9972bf4dd1324340552
|
data/lib/statsig_user.rb
CHANGED
@@ -17,13 +17,13 @@ class StatsigUser
|
|
17
17
|
|
18
18
|
def initialize(user_hash = nil)
|
19
19
|
if user_hash.is_a?(Hash)
|
20
|
-
@user_id = user_hash['
|
20
|
+
@user_id = user_hash['userID']
|
21
21
|
@email = user_hash['email']
|
22
22
|
@ip = user_hash['ip']
|
23
|
-
@user_agent = user_hash['
|
23
|
+
@user_agent = user_hash['userAgent']
|
24
24
|
@country = user_hash['country']
|
25
25
|
@locale = user_hash['locale']
|
26
|
-
@client_version = user_hash['
|
26
|
+
@client_version = user_hash['clientVersion']
|
27
27
|
@custom = user_hash['custom']
|
28
28
|
end
|
29
29
|
end
|