1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/go_grid.rb

19 lines
435 B
Ruby
Raw Normal View History

2010-07-24 20:12:13 -04:00
module Fog
module GoGrid
2010-07-24 20:12:13 -04:00
extend Fog::Provider
2010-07-24 20:12:13 -04:00
service_path 'fog/go_grid'
service 'compute'
2010-07-24 20:12:13 -04: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 02:35:41 -04:00
Fog::GoGrid::Compute.new(attributes)
2010-07-24 20:12:13 -04:00
end
end
end