1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace/servers.rb

15 lines
415 B
Ruby
Raw Normal View History

2009-10-10 22:05:17 -04:00
module Fog
module Rackspace
class Servers
def self.new(attributes = {})
location = caller.first
warning = "[yellow][WARN] Fog::Rackspace::Servers#new is deprecated, use Fog::Rackspace::Compute#new instead[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
Fog::Rackspace::Compute.new(attributes)
2009-10-10 22:05:17 -04:00
end
end
end
end