Class: SnowplowRubyDuid::DomainUserid
- Inherits:
-
Object
- Object
- SnowplowRubyDuid::DomainUserid
- Defined in:
- lib/snowplow_ruby_duid/domain_userid.rb
Overview
Generates a pseudo-unique ID to fingerprint the user It follows Snowplow Javascript: github.com/snowplow/snowplow-javascript-tracker/blob/2.14.0/src/js/tracker.js#L670-L672
Instance Method Summary collapse
-
#initialize ⇒ DomainUserid
constructor
A new instance of DomainUserid.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ DomainUserid
Returns a new instance of DomainUserid.
9 10 11 |
# File 'lib/snowplow_ruby_duid/domain_userid.rb', line 9 def initialize @domain_user_id = domain_user_id end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/snowplow_ruby_duid/domain_userid.rb', line 13 def to_s @domain_user_id end |