Method: Vcloud.class_for
- Defined in:
- lib/rackspace-fog/bin/vcloud.rb
.class_for(key) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/rackspace-fog/bin/vcloud.rb', line 4 def class_for(key) case key when :compute Fog::Vcloud::Compute else raise ArgumentError, "Unrecognized service: #{key}" end end |