Module: Fog::Provider
- Defined in:
- lib/fog/provider.rb
Instance Method Summary collapse
Instance Method Details
#service(new_service) ⇒ Object
8 9 10 11 |
# File 'lib/fog/provider.rb', line 8 def service(new_service) services << new_service require File.join(@service_path, new_service.to_s) end |
#service_path(new_path) ⇒ Object
4 5 6 |
# File 'lib/fog/provider.rb', line 4 def service_path(new_path) @service_path = new_path end |
#services ⇒ Object
13 14 15 |
# File 'lib/fog/provider.rb', line 13 def services @services ||= [] end |