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

Instance Method Summary collapse

Methods inherited from Data

#mark_as_sent, #mark_as_transmitting, #mark_as_unsent, #obtain_full_post_text_line, #sent, #transmitting, #unsent

Constructor Details

#initialize(data_type) ⇒ DuplicationSafeData

Returns a new instance of DuplicationSafeData.



67
68
69
70
# File 'lib/kameleoon/data/data.rb', line 67

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