Class: Fog::Rackspace::Servers

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/rackspace/servers.rb

Class Method Summary collapse

Class Method Details

.new(attributes = {}) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/fog/rackspace/servers.rb', line 5

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)
end