Sha256: df949bb95a78183cff05f89fbcfed9f44cb6f9afb527743af0c8304e9d3febc9
Contents?: true
Size: 452 Bytes
Versions: 14
Compression:
Stored size: 452 Bytes
Contents
module Fog module Compute class Google class Networks < Fog::Collection model Fog::Compute::Google::Network def all data = service.list_networks.body load(data["items"] || []) end def get(identity) if network = service.get_network(identity).body new(network) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems