Class: Kameleoon::DuplicationSafeData
- Defined in:
- lib/kameleoon/data/data.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Data
Instance Method Summary collapse
-
#initialize(data_type) ⇒ DuplicationSafeData
constructor
A new instance of DuplicationSafeData.
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 |