lib/fog/aws/service_mapper.rb
Method []
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.[](service)
@@connections ||= Hash.new do |hash, key|
hash[key] = case key
when :auto_scaling
Fog::AWS::AutoScaling.new
Method class_for
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.class_for(key)
case key
when :auto_scaling
Fog::AWS::AutoScaling
when :beanstalk