fog--fog/lib/fog/bluebox.rb

19 lines
435 B
Ruby
Raw Normal View History

module Fog
module Bluebox
2010-06-12 22:31:17 +00:00
extend Fog::Provider
2010-06-12 22:31:17 +00:00
service_path 'fog/bluebox'
service :blocks
2010-06-12 22:31:17 +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
end
end