lib/fog/bin/rackspace.rb
Method []
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def [](service)
@@connections ||= Hash.new do |hash, key|
hash[key] = case key
when :auto_scale
Fog::Rackspace::AutoScale.new
Method class_for
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def class_for(key)
case key
when :auto_scale
Fog::Rackspace::AutoScale
when :block_storage