Class: Kameleoon::Interest
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
Attributes inherited from Data
Instance Method Summary collapse
-
#initialize(index) ⇒ Interest
constructor
A new instance of Interest.
- #obtain_full_post_text_line ⇒ Object
Constructor Details
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
131 132 133 |
# File 'lib/kameleoon/data.rb', line 131 def index @index end |
Instance Method Details
#obtain_full_post_text_line ⇒ Object
140 141 142 143 |
# 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 |