Class: KubeDSL::ExternalResourceMeta
- Inherits:
-
Object
- Object
- KubeDSL::ExternalResourceMeta
- Defined in:
- lib/kube-dsl/external_resource_meta.rb
Instance Attribute Summary collapse
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
- #external? ⇒ Boolean
-
#initialize(ref) ⇒ ExternalResourceMeta
constructor
A new instance of ExternalResourceMeta.
Constructor Details
#initialize(ref) ⇒ ExternalResourceMeta
Returns a new instance of ExternalResourceMeta.
5 6 7 |
# File 'lib/kube-dsl/external_resource_meta.rb', line 5 def initialize(ref) @ref = ref end |
Instance Attribute Details
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
3 4 5 |
# File 'lib/kube-dsl/external_resource_meta.rb', line 3 def ref @ref end |
Instance Method Details
#external? ⇒ Boolean
9 10 11 |
# File 'lib/kube-dsl/external_resource_meta.rb', line 9 def external? true end |