Module: Fog::NewServers
- Extended by:
- Provider
- Defined in:
- lib/fog/compute/new_servers.rb,
lib/fog/providers/new_servers.rb,
lib/fog/compute/requests/new_servers/add_server.rb,
lib/fog/compute/requests/new_servers/get_server.rb,
lib/fog/compute/requests/new_servers/list_plans.rb,
lib/fog/compute/requests/new_servers/list_images.rb,
lib/fog/compute/requests/new_servers/list_servers.rb,
lib/fog/compute/requests/new_servers/cancel_server.rb,
lib/fog/compute/requests/new_servers/reboot_server.rb
Defined Under Namespace
Classes: Compute
Class Method Summary collapse
Methods included from Provider
Class Method Details
.new(attributes = {}) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/fog/providers/new_servers.rb', line 13 def self.new(attributes = {}) location = caller.first warning = "[yellow][WARN] Fog::NewServers#new is deprecated, use Fog::NewServers::Compute#new instead[/]" warning << " [light_black](" << location << ")[/] " Formatador.display_line(warning) Fog::NewServers::Compute.new(attributes) end |