Class: Fog::Kubevirt::Compute::Shared::EntityCollection
- Inherits:
-
Array
- Object
- Array
- Fog::Kubevirt::Compute::Shared::EntityCollection
- Defined in:
- lib/fog/kubevirt/compute/compute.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, entities) ⇒ EntityCollection
constructor
A new instance of EntityCollection.
Constructor Details
#initialize(kind, resource_version, entities) ⇒ EntityCollection
Returns a new instance of EntityCollection.
89 90 91 92 93 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 89 def initialize(kind, resource_version, entities) @kind = kind @resource_version = resource_version super(entities) end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
87 88 89 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 87 def kind @kind end |
#resource_version ⇒ Object (readonly)
Returns the value of attribute resource_version.
87 88 89 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 87 def resource_version @resource_version end |