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.
82 83 84 85 86 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 82 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.
80 81 82 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 80 def kind @kind end |
#resource_version ⇒ Object (readonly)
Returns the value of attribute resource_version.
80 81 82 |
# File 'lib/fog/kubevirt/compute/compute.rb', line 80 def resource_version @resource_version end |