Class: Kameleoon::Browser
Instance Attribute Summary collapse
-
#browser ⇒ Object
Returns the value of attribute browser.
Attributes inherited from Data
Instance Method Summary collapse
-
#initialize(browser_type) ⇒ Browser
constructor
A new instance of Browser.
- #obtain_full_post_text_line ⇒ Object
Constructor Details
Instance Attribute Details
#browser ⇒ Object
Returns the value of attribute browser.
71 72 73 |
# File 'lib/kameleoon/data.rb', line 71 def browser @browser end |
Instance Method Details
#obtain_full_post_text_line ⇒ Object
80 81 82 83 |
# File 'lib/kameleoon/data.rb', line 80 def obtain_full_post_text_line nonce = Kameleoon::Utils.generate_random_string(NONCE_LENGTH) "eventType=staticData&browser=" + @browser.to_s + "&nonce=" + nonce end |