Module: SnowplowRubyDuid::Helper

Defined in:
lib/snowplow_ruby_duid/helper.rb

Overview

Exposes a snowplow_domain_userid method in the context that will find or create a domain_userid, which will be saved in the response’s cookie if it does not exist

Instance Method Summary collapse

Instance Method Details

#snowplow_domain_useridObject



8
9
10
# File 'lib/snowplow_ruby_duid/helper.rb', line 8

def snowplow_domain_userid
  @snowplow_domain_userid ||= find_or_create_snowplow_domain_userid
end