Module: Fog::Slicehost

Extended by:
Provider
Defined in:
lib/fog/dns/slicehost.rb,
lib/fog/compute/slicehost.rb,
lib/fog/providers/slicehost.rb,
lib/fog/dns/models/slicehost/zone.rb,
lib/fog/dns/models/slicehost/zones.rb,
lib/fog/dns/models/slicehost/record.rb,
lib/fog/dns/models/slicehost/records.rb,
lib/fog/compute/models/slicehost/image.rb,
lib/fog/compute/models/slicehost/flavor.rb,
lib/fog/compute/models/slicehost/images.rb,
lib/fog/compute/models/slicehost/server.rb,
lib/fog/dns/requests/slicehost/get_zone.rb,
lib/fog/compute/models/slicehost/flavors.rb,
lib/fog/compute/models/slicehost/servers.rb,
lib/fog/dns/requests/slicehost/get_zones.rb,
lib/fog/dns/requests/slicehost/get_record.rb,
lib/fog/dns/requests/slicehost/create_zone.rb,
lib/fog/dns/requests/slicehost/delete_zone.rb,
lib/fog/dns/requests/slicehost/get_records.rb,
lib/fog/compute/requests/slicehost/get_image.rb,
lib/fog/compute/requests/slicehost/get_slice.rb,
lib/fog/dns/requests/slicehost/create_record.rb,
lib/fog/dns/requests/slicehost/delete_record.rb,
lib/fog/compute/requests/slicehost/get_flavor.rb,
lib/fog/compute/requests/slicehost/get_images.rb,
lib/fog/compute/requests/slicehost/get_slices.rb,
lib/fog/compute/requests/slicehost/get_backups.rb,
lib/fog/compute/requests/slicehost/get_flavors.rb,
lib/fog/compute/requests/slicehost/create_slice.rb,
lib/fog/compute/requests/slicehost/delete_slice.rb,
lib/fog/compute/requests/slicehost/reboot_slice.rb

Defined Under Namespace

Classes: Compute, DNS

Class Method Summary collapse

Methods included from Provider

service, services

Class Method Details

.new(attributes = {}) ⇒ Object



14
15
16
17
18
19
20
# File 'lib/fog/providers/slicehost.rb', line 14

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