Sha256: 5c384f236d5809c2cb86c9c663bc376f63fc6da1aa88b1863dfc234acb051f2b
Contents?: true
Size: 473 Bytes
Versions: 13
Compression:
Stored size: 473 Bytes
Contents
module Fog module Vsphere class Compute class Networks < Fog::Collection model Fog::Vsphere::Compute::Network attr_accessor :datacenter, :cluster def all(filters = {}) f = { datacenter: datacenter, cluster: cluster }.merge(filters) load service.list_networks(f) end def get(id) requires :datacenter new service.get_network(id, datacenter) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems