Class: EntityList
- Inherits:
-
Array
- Object
- Array
- EntityList
- Defined in:
- lib/kubeclient/entity_list.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#resource_version ⇒ Object
readonly
Returns the value of attribute resource_version.
Instance Method Summary collapse
-
#initialize(kind, resource_version) ⇒ EntityList
constructor
A new instance of EntityList.
Constructor Details
#initialize(kind, resource_version) ⇒ EntityList
Returns a new instance of EntityList.
4 5 6 7 8 |
# File 'lib/kubeclient/entity_list.rb', line 4 def initialize(kind,resource_version) @kind = kind @resource_version = resource_version super() end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
2 3 4 |
# File 'lib/kubeclient/entity_list.rb', line 2 def kind @kind end |
#resource_version ⇒ Object (readonly)
Returns the value of attribute resource_version.
2 3 4 |
# File 'lib/kubeclient/entity_list.rb', line 2 def resource_version @resource_version end |