fog--fog/lib/fog/providers/go_grid.rb

20 lines
480 B
Ruby
Raw Normal View History

require File.join(File.dirname(__FILE__), '..', 'core')
2010-12-16 19:24:52 +00:00
2010-07-25 00:12:13 +00:00
module Fog
module GoGrid
2010-07-25 00:12:13 +00:00
extend Fog::Provider
2010-07-25 00:12:13 +00:00
2011-01-08 00:52:09 +00:00
service(:compute, 'compute/go_grid')
2010-07-25 00:12:13 +00:00
def self.new(attributes = {})
location = caller.first
warning = "[yellow][WARN] Fog::GoGrid#new is deprecated, use Fog::GoGrid::Compute#new instead[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
2010-10-11 06:35:41 +00:00
Fog::GoGrid::Compute.new(attributes)
2010-07-25 00:12:13 +00:00
end
end
end