Class: GrabzIt::Cookie
- Inherits:
-
Object
- Object
- GrabzIt::Cookie
- Defined in:
- lib/grabzit/cookie.rb
Overview
Instance Method Summary collapse
-
#domain ⇒ String
The domain of the cookie.
-
#expires ⇒ String
The date and time the cookie expires.
-
#httpOnly ⇒ Boolean
Is the cookie httponly.
-
#name ⇒ String
The name of the cookie.
-
#path ⇒ String
The path of the cookie.
-
#type ⇒ String
The type of cookie.
-
#value ⇒ String
The value of the cookie.
Instance Method Details
#domain ⇒ String
Returns the domain of the cookie.
25 26 27 |
# File 'lib/grabzit/cookie.rb', line 25 def domain @Domain end |
#expires ⇒ String
Returns the date and time the cookie expires.
37 38 39 |
# File 'lib/grabzit/cookie.rb', line 37 def expires @Expires end |
#httpOnly ⇒ Boolean
Returns is the cookie httponly.
33 34 35 |
# File 'lib/grabzit/cookie.rb', line 33 def httpOnly @HttpOnly end |
#name ⇒ String
Returns the name of the cookie.
17 18 19 |
# File 'lib/grabzit/cookie.rb', line 17 def name @Name end |
#path ⇒ String
Returns the path of the cookie.
29 30 31 |
# File 'lib/grabzit/cookie.rb', line 29 def path @Path end |
#type ⇒ String
Returns the type of cookie.
41 42 43 |
# File 'lib/grabzit/cookie.rb', line 41 def type @Type end |
#value ⇒ String
Returns the value of the cookie.
21 22 23 |
# File 'lib/grabzit/cookie.rb', line 21 def value @Value end |