Sha256: 5f067e38a255448b76bae6c4c7efd6b450ab9705978a421b68a7ae60ac852960
Contents?: true
Size: 629 Bytes
Versions: 31
Compression:
Stored size: 629 Bytes
Contents
class NewServers < Fog::Bin class << self def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = case key when :compute Fog::NewServers::Compute.new when :new_servers location = caller.first warning = "[yellow][WARN] NewServers[:servers] is deprecated, use NewServers[:compute] instead[/]" warning << " [light_black](" << location << ")[/] " Formatador.display_line(warning) Fog::NewServers::Compute.new end end @@connections[service] end def services [:compute] end end end
Version data entries
31 entries across 31 versions & 2 rubygems