Class: KubeDSL::ExternalResourceMeta

Inherits:
Object
  • Object
show all
Defined in:
lib/kube-dsl/external_resource_meta.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#refObject (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

Returns:

  • (Boolean)


9
10
11
# File 'lib/kube-dsl/external_resource_meta.rb', line 9

def external?
  true
end