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