Module: Fog::Slicehost

Extended by:
Provider
Defined in:
lib/fog/slicehost.rb,
lib/fog/slicehost/compute.rb,
lib/fog/slicehost/models/compute/image.rb,
lib/fog/slicehost/models/compute/flavor.rb,
lib/fog/slicehost/models/compute/images.rb,
lib/fog/slicehost/models/compute/server.rb,
lib/fog/slicehost/models/compute/flavors.rb,
lib/fog/slicehost/models/compute/servers.rb,
lib/fog/slicehost/requests/compute/get_image.rb,
lib/fog/slicehost/requests/compute/get_slice.rb,
lib/fog/slicehost/requests/compute/get_flavor.rb,
lib/fog/slicehost/requests/compute/get_images.rb,
lib/fog/slicehost/requests/compute/get_slices.rb,
lib/fog/slicehost/requests/compute/get_backups.rb,
lib/fog/slicehost/requests/compute/get_flavors.rb,
lib/fog/slicehost/requests/compute/create_slice.rb,
lib/fog/slicehost/requests/compute/delete_slice.rb,
lib/fog/slicehost/requests/compute/reboot_slice.rb

Defined Under Namespace

Classes: Compute

Class Method Summary collapse

Methods included from Provider

service, service_path, services

Class Method Details

.new(attributes = {}) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/fog/slicehost.rb', line 12

def self.new(attributes = {})
  location = caller.first
  warning = "[yellow][WARN] Fog::Slicehost#new is deprecated, use Fog::Slicehost::Compute#new instead[/]"
  warning << " [light_black](" << location << ")[/] "
  Formatador.display_line(warning)
  Fog::Slicehost::Compute.new(attributes)
end