Class: Spider::Cookie
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#path ⇒ Object
Returns the value of attribute path.
-
#secure ⇒ Object
Returns the value of attribute secure.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(val) ⇒ Cookie
constructor
A new instance of Cookie.
- #to_s ⇒ Object
Constructor Details
#initialize(val) ⇒ Cookie
Returns a new instance of Cookie.
6 7 8 9 10 11 12 |
# File 'lib/spiderfw/controller/cookie.rb', line 6 def initialize(val) @val = val @expires = nil @path = nil @domain = nil @secure = nil end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
4 5 6 |
# File 'lib/spiderfw/controller/cookie.rb', line 4 def domain @domain end |
#expires ⇒ Object
Returns the value of attribute expires.
4 5 6 |
# File 'lib/spiderfw/controller/cookie.rb', line 4 def expires @expires end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/spiderfw/controller/cookie.rb', line 4 def path @path end |
#secure ⇒ Object
Returns the value of attribute secure.
4 5 6 |
# File 'lib/spiderfw/controller/cookie.rb', line 4 def secure @secure end |
#val ⇒ Object
Returns the value of attribute val.
4 5 6 |
# File 'lib/spiderfw/controller/cookie.rb', line 4 def val @val end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/spiderfw/controller/cookie.rb', line 14 def to_s val end |