Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::TrustedNetworkGroups

Public Instance Methods

all() click to toggle source
# File lib/fog/ecloud/models/compute/trusted_network_groups.rb, line 12
def all
  data = service.get_trusted_network_groups(href).body
  data = data[:TrustedNetworkGroup] ? data[:TrustedNetworkGroup] : data
  load(data)
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/trusted_network_groups.rb, line 18
def get(uri)
  if data = service.get_trusted_network_group(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.