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