Class: Kameleoon::DuplicationSafeData

Inherits:
Data
  • Object
show all
Defined in:
lib/kameleoon/data/data.rb

Direct Known Subclasses

Conversion, PageView

Instance Attribute Summary

Attributes inherited from Data

#instance, #sent

Instance Method Summary collapse

Methods inherited from Data

#mark_as_sent, #obtain_full_post_text_line

Constructor Details

#initialize(data_type) ⇒ DuplicationSafeData

Returns a new instance of DuplicationSafeData.



41
42
43
44
# File 'lib/kameleoon/data/data.rb', line 41

def initialize(data_type)
  super(data_type)
  @nonce = Kameleoon::Utils.generate_random_string(NONCE_LENGTH)
end