Sha256: f0cf9e77a7bba5763f3cefe50c83d131388cf546baf6a6a37c3f57669bc3f3f0
Contents?: true
Size: 618 Bytes
Versions: 25
Compression:
Stored size: 618 Bytes
Contents
require 'fog/ecloud/models/compute/network' module Fog module Compute class Ecloud class Networks < Fog::Ecloud::Collection undef_method :create model Fog::Compute::Ecloud::Network attribute :href def all check_href!("Vdc") if data = connection.get_vdc(href).body[:AvailableNetworks][:Network] load(data) end end def get(uri) if data = connection.get_network(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
25 entries across 25 versions & 7 rubygems