Class: KubernetesReferences::HTTPHeader
- Defined in:
- lib/kubernetes_references/http_header.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #_schema ⇒ Object
-
#initialize(obj) ⇒ HTTPHeader
constructor
A new instance of HTTPHeader.
Methods inherited from API
Constructor Details
#initialize(obj) ⇒ HTTPHeader
Returns a new instance of HTTPHeader.
8 9 10 |
# File 'lib/kubernetes_references/http_header.rb', line 8 def initialize(obj) _set!(obj) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/kubernetes_references/http_header.rb', line 4 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
6 7 8 |
# File 'lib/kubernetes_references/http_header.rb', line 6 def value @value end |
Instance Method Details
#_schema ⇒ Object
12 13 14 15 16 17 |
# File 'lib/kubernetes_references/http_header.rb', line 12 def _schema { name: @name, value: @value } end |