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/core/provider.rb
2011-02-11 14:36:48 -08:00

18 lines
287 B
Ruby

module Fog
module Provider
def self.extended(base)
Fog.providers << base.to_s.split('::').last
end
def service(new_service, path)
services << new_service
require File.join('fog', path)
end
def services
@services ||= []
end
end
end