Class: GrabzIt::Cookie

Inherits:
Object
  • Object
show all
Defined in:
lib/grabzit/cookie.rb

Overview

Author:

  • GrabzIt

Instance Method Summary collapse

Instance Method Details

#domainString

Returns the domain of the cookie.

Returns:

  • (String)

    the domain of the cookie



25
26
27
# File 'lib/grabzit/cookie.rb', line 25

def domain
	@Domain
end

#expiresString

Returns the date and time the cookie expires.

Returns:

  • (String)

    the date and time the cookie expires



37
38
39
# File 'lib/grabzit/cookie.rb', line 37

def expires
	@Expires
end

#httpOnlyBoolean

Returns is the cookie httponly.

Returns:

  • (Boolean)

    is the cookie httponly



33
34
35
# File 'lib/grabzit/cookie.rb', line 33

def httpOnly
	@HttpOnly
end

#nameString

Returns the name of the cookie.

Returns:

  • (String)

    the name of the cookie



17
18
19
# File 'lib/grabzit/cookie.rb', line 17

def name
	@Name
end

#pathString

Returns the path of the cookie.

Returns:

  • (String)

    the path of the cookie



29
30
31
# File 'lib/grabzit/cookie.rb', line 29

def path
	@Path
end

#typeString

Returns the type of cookie.

Returns:

  • (String)

    the type of cookie



41
42
43
# File 'lib/grabzit/cookie.rb', line 41

def type
	@Type
end

#valueString

Returns the value of the cookie.

Returns:

  • (String)

    the value of the cookie



21
22
23
# File 'lib/grabzit/cookie.rb', line 21

def value
	@Value
end