mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
285 B
Ruby
18 lines
285 B
Ruby
module Fog
|
|
module Provider
|
|
|
|
def service_path(new_path)
|
|
@service_path = new_path
|
|
end
|
|
|
|
def service(new_service)
|
|
services << new_service
|
|
require File.join(@service_path, new_service.to_s)
|
|
end
|
|
|
|
def services
|
|
@services ||= []
|
|
end
|
|
|
|
end
|
|
end
|