Class: Browser::HTTP::Header
- Defined in:
- lib/diamonds/opal/browser/http/headers.rb
Overview
Represents a single HTTP header.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/diamonds/opal/browser/http/headers.rb', line 4 def name @name end |
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/diamonds/opal/browser/http/headers.rb', line 4 def value @value end |