Method: Local.class_for

Defined in:
lib/fog/bin/local.rb

.class_for(key) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/fog/bin/local.rb', line 4

def class_for(key)
  case key
  when :storage
    Fog::Storage::Local
  else 
    raise ArgumentError, "Unsupported #{self} service: #{key}"
  end
end