Method: Glesys.class_for

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

.class_for(key) ⇒ Object



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

def class_for(key)
  case key
  when :compute
    Fog::Compute::Glesys
  else
    raise ArgumentError, "Unsupported #{self} service: #{key}"
  end
end