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