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/slicehost.rb

22 lines
494 B
Ruby
Raw Normal View History

require 'nokogiri'
require 'fog/core/parser'
module Fog
module Slicehost
2010-06-12 18:31:17 -04:00
extend Fog::Provider
2010-06-12 18:31:17 -04:00
service_path 'fog/slicehost'
service :compute
def self.new(attributes = {})
location = caller.first
2010-11-01 14:52:04 -04:00
warning = "[yellow][WARN] Fog::Slicehost#new is deprecated, use Fog::Slicehost::Compute#new instead[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
Fog::Slicehost::Compute.new(attributes)
end
end
end