Class: Fog::Kubevirt::Compute::Shared::EntityCollection

Inherits:
Array
  • Object
show all
Defined in:
lib/fog/kubevirt/compute/compute.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#kindObject (readonly)

Returns the value of attribute kind.



80
81
82
# File 'lib/fog/kubevirt/compute/compute.rb', line 80

def kind
  @kind
end

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