Class: HTTP::Cookie
- Inherits:
-
Object
- Object
- HTTP::Cookie
- Defined in:
- sig/http.rbs
Instance Attribute Summary collapse
-
#cookie_value ⇒ String
readonly
Returns the value of attribute cookie_value.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Cookie
constructor
A new instance of Cookie.
Constructor Details
#initialize ⇒ Cookie
Returns a new instance of Cookie.
1234 |
# File 'sig/http.rbs', line 1234
def initialize: (String, String, **untyped) -> void
|
Instance Attribute Details
#cookie_value ⇒ String (readonly)
Returns the value of attribute cookie_value.
1230 1231 1232 |
# File 'sig/http.rbs', line 1230 def @cookie_value end |
#name ⇒ String (readonly)
Returns the value of attribute name.
1228 1229 1230 |
# File 'sig/http.rbs', line 1228 def name @name end |
#value ⇒ String (readonly)
Returns the value of attribute value.
1229 1230 1231 |
# File 'sig/http.rbs', line 1229 def value @value end |
Class Method Details
.cookie_value_to_hash ⇒ Hash[String, String]
1233 |
# File 'sig/http.rbs', line 1233
def self.cookie_value_to_hash: (String) -> Hash[String, String]
|
.parse ⇒ Array[HTTP::Cookie]
1232 |
# File 'sig/http.rbs', line 1232
def self.parse: (String, URI) -> Array[HTTP::Cookie]
|