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.



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

#kindObject (readonly)

Returns the value of attribute kind.



87
88
89
# File 'lib/fog/kubevirt/compute/compute.rb', line 87

def kind
  @kind
end

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