Class: Kameleoon::Cookie
- Inherits:
-
Object
- Object
- Kameleoon::Cookie
- Defined in:
- lib/kameleoon/data/cookie.rb
Overview
Cookie contains information about the cookie stored on the visitor’s device
Instance Attribute Summary collapse
-
#cookies ⇒ Object
readonly
Returns the value of attribute cookies.
Instance Method Summary collapse
-
#initialize(cookies) ⇒ Cookie
constructor
A new instance of Cookie.
- #to_s ⇒ Object
Constructor Details
#initialize(cookies) ⇒ Cookie
Returns a new instance of Cookie.
9 10 11 |
# File 'lib/kameleoon/data/cookie.rb', line 9 def initialize() @cookies = end |
Instance Attribute Details
#cookies ⇒ Object (readonly)
Returns the value of attribute cookies.
6 7 8 |
# File 'lib/kameleoon/data/cookie.rb', line 6 def @cookies end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/kameleoon/data/cookie.rb', line 13 def to_s "Cookie{cookies:#{@cookies}}" end |