Class: Kubernetes::NamespaceStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/kubernetes/namespace_status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ NamespaceStatus

Returns a new instance of NamespaceStatus.



5
6
7
# File 'lib/kubernetes/namespace_status.rb', line 5

def initialize(data)
  @phase = data.fetch("phase")
end

Instance Attribute Details

#phaseObject (readonly)

Returns the value of attribute phase.



3
4
5
# File 'lib/kubernetes/namespace_status.rb', line 3

def phase
  @phase
end