class Kameleoon::Interest
Attributes
index[RW]
Public Class Methods
new(index)
click to toggle source
@param [Integer] index Index of the interest
# File lib/kameleoon/data.rb, line 134 def initialize(index) @instance = DataType::INTEREST @sent = false @index = index end
Public Instance Methods
obtain_full_post_text_line()
click to toggle source
# File lib/kameleoon/data.rb, line 140 def obtain_full_post_text_line nonce = Kameleoon::Utils.generate_random_string(NONCE_LENGTH) "eventType=interests&indexes=[" + @index.to_s + "]&fresh=true&nonce=" + nonce end