Module: Fog::Provider

Included in:
AWS, Bluebox, Brightbox, GoGrid, Google, Linode, Local, NewServers, Rackspace, Slicehost, TerremarkEcloud, Zerigo
Defined in:
lib/fog/core/provider.rb

Instance Method Summary collapse

Instance Method Details

#service(new_service, path) ⇒ Object



4
5
6
7
# File 'lib/fog/core/provider.rb', line 4

def service(new_service, path)
  services << new_service
  require File.join('fog', path)
end

#servicesObject



9
10
11
# File 'lib/fog/core/provider.rb', line 9

def services
  @services ||= []
end