Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::ComputePools

Public Instance Methods

all() click to toggle source
# File lib/fog/ecloud/models/compute/compute_pools.rb, line 14
def all
  check_href!(:message => "the Compute Pool href of the Environment you want to enumerate")
  data = service.get_compute_pools(href).body[:ComputePool]
  load(data)
end
from_data(data) click to toggle source
# File lib/fog/ecloud/models/compute/compute_pools.rb, line 28
def from_data(data)
  new(data)
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/compute_pools.rb, line 20
def get(uri)
  if data = service.get_compute_pool(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.