Sha256: ed8f57dfbee542c1d097a77522ef3fcf450a544358972edb6ad8d341416bd24f
Contents?: true
Size: 634 Bytes
Versions: 10
Compression:
Stored size: 634 Bytes
Contents
class Compute < Fog::Bin class << self def class_for(key) case key when :compute Fog::Ovirt::Compute else raise ArgumentError, "Unrecognized service: #{key}" end end def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = case key when :compute Fog::Ovirt::Compute.new else raise ArgumentError, "Unrecognized service: #{key.inspect}" end end @@connections[service] end def services Fog::Ovirt.services end end end
Version data entries
10 entries across 10 versions & 1 rubygems