lib/fog/xenserver/compute.rb
Class has too many lines. [332/250] Open
Open
class Compute < Fog::Service
autoload :Models, File.expand_path("../compute/models", __FILE__)
autoload :Real, File.expand_path("../compute/real", __FILE__)
autoload :Mock, File.expand_path("../compute/mock", __FILE__)
- Read upRead up
- Exclude checks
This cop checks if the length a class exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
File compute.rb
has 339 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require "fog/core"
module Fog
module XenServer
class Compute < Fog::Service