Class: Kameleoon::Device
Overview
Device uses for sending deviceType parameter for tracking calls
Instance Attribute Summary
Attributes inherited from Data
Instance Method Summary collapse
-
#initialize(device_type) ⇒ Device
constructor
A new instance of Device.
- #obtain_full_post_text_line ⇒ Object
Methods inherited from Data
Constructor Details
Instance Method Details
#obtain_full_post_text_line ⇒ Object
156 157 158 159 |
# File 'lib/kameleoon/data.rb', line 156 def obtain_full_post_text_line nonce = Kameleoon::Utils.generate_random_string(NONCE_LENGTH) "eventType=staticData&deviceType=#{@device_type}&nonce=#{nonce}" end |