Module: Fog::Bluebox

Extended by:
Provider
Defined in:
lib/fog/compute/bluebox.rb,
lib/fog/providers/bluebox.rb,
lib/fog/compute/models/bluebox/image.rb,
lib/fog/compute/models/bluebox/flavor.rb,
lib/fog/compute/models/bluebox/images.rb,
lib/fog/compute/models/bluebox/server.rb,
lib/fog/compute/models/bluebox/flavors.rb,
lib/fog/compute/models/bluebox/servers.rb,
lib/fog/compute/requests/bluebox/get_block.rb,
lib/fog/compute/requests/bluebox/get_blocks.rb,
lib/fog/compute/requests/bluebox/get_product.rb,
lib/fog/compute/requests/bluebox/create_block.rb,
lib/fog/compute/requests/bluebox/get_products.rb,
lib/fog/compute/requests/bluebox/get_template.rb,
lib/fog/compute/requests/bluebox/reboot_block.rb,
lib/fog/compute/requests/bluebox/destroy_block.rb,
lib/fog/compute/requests/bluebox/get_templates.rb

Defined Under Namespace

Classes: Compute

Class Method Summary collapse

Methods included from Provider

service, services

Class Method Details

.new(attributes = {}) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/fog/providers/bluebox.rb', line 10

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