openpanel-sdk 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openpanel/sdk/tracker.rb +0 -13
- data/lib/openpanel/sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71d49e2703660c679a0fa144f8b12f121f0014cca877ea1e9858d3dfd3e80af1
|
|
4
|
+
data.tar.gz: b5d6a0b7a266fbe4f6efeaacccb509c77a9950371ad2b5ed0bb98e4883ef5e7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38f322c5ab571c40cf5a145514e4b648421d4531097bb90af3bef33088a3464d4fc306eae886e071c40942157f1b720c9f68574f833a5bfa1d00181196074284
|
|
7
|
+
data.tar.gz: 2b12b3273ba1c973a41eff1fa1abc03ac8274334fd7c17679e760ad5cc4c0a011d2ee4f7d059622ccd9a963674734376ee7e4306346c3d7e2884d4f9f563a15c
|
|
@@ -49,19 +49,6 @@ module OpenPanel
|
|
|
49
49
|
send_request payload: payload
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
##############################
|
|
53
|
-
# Track page view in OpenPanel
|
|
54
|
-
# @param user [User] user to track
|
|
55
|
-
# @param path [String] page path
|
|
56
|
-
##############################
|
|
57
|
-
def track_page_view(user, path)
|
|
58
|
-
if user
|
|
59
|
-
track 'view', payload: { profileId: user.profile_id, path: path }
|
|
60
|
-
else
|
|
61
|
-
track 'view', payload: { path: path }
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
|
|
65
52
|
##############################
|
|
66
53
|
# Identify user in OpenPanel
|
|
67
54
|
# https://openpanel.dev/docs/api/track
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openpanel-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas Stätter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: OpenPanel SDK for Ruby
|
|
14
14
|
email:
|