class Fog::OpenStack::Compute::Aggregates
Public Instance Methods
all(options = {})
click to toggle source
# File lib/fog/openstack/compute/models/aggregates.rb, line 10 def all(options = {}) load_response(service.list_aggregates(options), 'aggregates') end
destroy(id)
click to toggle source
# File lib/fog/openstack/compute/models/aggregates.rb, line 19 def destroy(id) aggregate = find_by_id(id) aggregate.destroy end
find_by_id(id)
click to toggle source
# File lib/fog/openstack/compute/models/aggregates.rb, line 14 def find_by_id(id) new(service.get_aggregate(id).body['aggregate']) end
Also aliased as: get