Class: TrackRelay::ClientId::SignedToken::Token

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



19
20
21
# File 'lib/track_relay/client_id/signed_token.rb', line 19

def client_id
  @client_id
end

#last_seen_atObject

Returns the value of attribute last_seen_at

Returns:

  • (Object)

    the current value of 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_idObject

Returns the value of attribute session_id

Returns:

  • (Object)

    the current value of session_id



19
20
21
# File 'lib/track_relay/client_id/signed_token.rb', line 19

def session_id
  @session_id
end

#session_started_atObject

Returns the value of attribute session_started_at

Returns:

  • (Object)

    the current value of 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