Methods

Files

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::Networks

Public Instance Methods

all() click to toggle source
# File lib/fog/ecloud/models/compute/networks.rb, line 15
def all
  check_href!("Vdc")
  if data = connection.get_vdc(href).body[:AvailableNetworks][:Network]
    load(data)
  end
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/networks.rb, line 22
def get(uri)
  if data = connection.get_network(uri)
    new(data.body)
  end
  rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.