Sha256: 8661aa72898f0ef955076637ad8471a31f0fdb0700a996c894d31cc60c096d95
Contents?: true
Size: 756 Bytes
Versions: 6
Compression:
Stored size: 756 Bytes
Contents
require File.expand_path("../compute_pool", __FILE__) module Fog module Compute class Ecloud class ComputePools < Fog::Ecloud::Collection undef_method :create attribute :href, :aliases => :Href model Fog::Compute::Ecloud::ComputePool 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 def get(uri) if data = service.get_compute_pool(uri) new(data.body) end rescue Fog::Errors::NotFound nil end def from_data(data) new(data) end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems