Class: Web2Go::MockCookie
- Inherits:
-
Object
- Object
- Web2Go::MockCookie
- Defined in:
- lib/Web2Go/MockCookie.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#expires ⇒ Object
readonly
Returns the value of attribute expires.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, domain, expires) ⇒ MockCookie
constructor
A new instance of MockCookie.
Constructor Details
#initialize(name, value, domain, expires) ⇒ MockCookie
Returns a new instance of MockCookie.
10 11 12 13 14 15 |
# File 'lib/Web2Go/MockCookie.rb', line 10 def initialize(name,value,domain,expires) @name = name @value = value @domain = domain @expires = expires end |
Instance Attribute Details
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
7 8 9 |
# File 'lib/Web2Go/MockCookie.rb', line 7 def domain @domain end |
#expires ⇒ Object (readonly)
Returns the value of attribute expires.
8 9 10 |
# File 'lib/Web2Go/MockCookie.rb', line 8 def expires @expires end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/Web2Go/MockCookie.rb', line 5 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/Web2Go/MockCookie.rb', line 6 def value @value end |