lib/fog/vsphere/models/compute/datacenters.rb in fog-1.22.0 vs lib/fog/vsphere/models/compute/datacenters.rb in fog-1.22.1
- old
+ new
@@ -2,22 +2,19 @@
require 'fog/vsphere/models/compute/datacenter'
module Fog
module Compute
class Vsphere
-
class Datacenters < Fog::Collection
-
model Fog::Compute::Vsphere::Datacenter
def all(filters = {})
load service.list_datacenters(filters)
end
def get(name)
new service.get_datacenter(name)
end
-
end
end
end
end