Class: CookieSettings
- Inherits:
-
Object
- Object
- CookieSettings
- Defined in:
- lib/model/cookie_settings.rb
Overview
This source code is licensed under the license found in the LICENSE file in the root directory of this source tree.
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#max_age ⇒ Object
Returns the value of attribute max_age.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, domain, max_age) ⇒ CookieSettings
constructor
A new instance of CookieSettings.
Constructor Details
#initialize(name, value, domain, max_age) ⇒ CookieSettings
Returns a new instance of CookieSettings.
9 10 11 12 13 14 |
# File 'lib/model/cookie_settings.rb', line 9 def initialize(name, value, domain, max_age) @name = name @value = value @domain = domain @max_age = max_age end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
8 9 10 |
# File 'lib/model/cookie_settings.rb', line 8 def domain @domain end |
#max_age ⇒ Object
Returns the value of attribute max_age.
8 9 10 |
# File 'lib/model/cookie_settings.rb', line 8 def max_age @max_age end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/model/cookie_settings.rb', line 8 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
8 9 10 |
# File 'lib/model/cookie_settings.rb', line 8 def value @value end |