Module: Fog::Bluebox

Extended by:
Provider
Defined in:
lib/fog/bluebox.rb,
lib/fog/bluebox/compute.rb,
lib/fog/bluebox/models/compute/image.rb,
lib/fog/bluebox/models/compute/flavor.rb,
lib/fog/bluebox/models/compute/images.rb,
lib/fog/bluebox/models/compute/server.rb,
lib/fog/bluebox/models/compute/flavors.rb,
lib/fog/bluebox/models/compute/servers.rb,
lib/fog/bluebox/requests/compute/get_block.rb,
lib/fog/bluebox/requests/compute/get_blocks.rb,
lib/fog/bluebox/requests/compute/get_product.rb,
lib/fog/bluebox/requests/compute/create_block.rb,
lib/fog/bluebox/requests/compute/get_products.rb,
lib/fog/bluebox/requests/compute/get_template.rb,
lib/fog/bluebox/requests/compute/reboot_block.rb,
lib/fog/bluebox/requests/compute/destroy_block.rb,
lib/fog/bluebox/requests/compute/get_templates.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/bluebox.rb', line 9

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