Module: Fog::NewServers
- Extended by:
- Provider
- Defined in:
- lib/fog/new_servers.rb,
lib/fog/new_servers/compute.rb,
lib/fog/new_servers/requests/compute/add_server.rb,
lib/fog/new_servers/requests/compute/get_server.rb,
lib/fog/new_servers/requests/compute/list_plans.rb,
lib/fog/new_servers/requests/compute/list_images.rb,
lib/fog/new_servers/requests/compute/list_servers.rb,
lib/fog/new_servers/requests/compute/cancel_server.rb,
lib/fog/new_servers/requests/compute/reboot_server.rb
Defined Under Namespace
Classes: Compute
Class Method Summary collapse
Methods included from Provider
service, service_path, services
Class Method Details
.new(attributes = {}) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/fog/new_servers.rb', line 9 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 |