Class: TrackRelay::ClientId::SignedToken::Token
- Inherits:
-
Struct
- Object
- Struct
- TrackRelay::ClientId::SignedToken::Token
- Defined in:
- lib/track_relay/client_id/signed_token.rb
Overview
Verified token contents. session_started_at is a Time (UTC);
session_id/client_id are strings shaped for GA4 payloads.
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#last_seen_at ⇒ Object
Returns the value of attribute last_seen_at.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#session_started_at ⇒ Object
Returns the value of attribute session_started_at.
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id
19 20 21 |
# File 'lib/track_relay/client_id/signed_token.rb', line 19 def client_id @client_id end |
#last_seen_at ⇒ Object
Returns the value of attribute last_seen_at
19 20 21 |
# File 'lib/track_relay/client_id/signed_token.rb', line 19 def last_seen_at @last_seen_at end |
#session_id ⇒ Object
Returns the value of attribute session_id
19 20 21 |
# File 'lib/track_relay/client_id/signed_token.rb', line 19 def session_id @session_id end |
#session_started_at ⇒ Object
Returns the value of attribute session_started_at
19 20 21 |
# File 'lib/track_relay/client_id/signed_token.rb', line 19 def session_started_at @session_started_at end |