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

20 lines
474 B
Ruby
Raw Normal View History

2010-12-16 19:24:52 +00:00
require File.join(File.dirname(__FILE__), 'core')
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
service(:compute, 'go_grid/compute')
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