2010-05-24 17:29:01 +00:00
|
|
|
module Fog
|
2010-09-07 23:26:01 +00:00
|
|
|
module Bluebox
|
2010-06-12 22:31:17 +00:00
|
|
|
|
2010-09-07 23:26:01 +00:00
|
|
|
extend Fog::Provider
|
2010-06-12 22:31:17 +00:00
|
|
|
|
2010-09-07 23:26:01 +00:00
|
|
|
service_path 'fog/bluebox'
|
|
|
|
service :blocks
|
2010-06-12 22:31:17 +00:00
|
|
|
|
2010-09-07 23:35:19 +00:00
|
|
|
def self.new(attributes = {})
|
|
|
|
location = caller.first
|
|
|
|
warning = "[yellow][WARN] Fog::Bluebox#new is deprecated, use Fog::Bluebox::Blocks#new instead[/]"
|
|
|
|
warning << " [light_black](" << location << ")[/] "
|
|
|
|
Formatador.display_line(warning)
|
|
|
|
Fog::Bluebox::Blocks.new(attributes)
|
|
|
|
end
|
|
|
|
|
2010-05-24 17:29:01 +00:00
|
|
|
end
|
|
|
|
end
|