fog/fog-profitbricks

View on GitHub
lib/fog/profitbricks/requests/compute/create_volume.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method create_volume has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def create_volume(datacenter_id, options = {})
          response = Excon::Response.new
          response.status = 202

          if options[:size] == nil
Severity: Minor
Found in lib/fog/profitbricks/requests/compute/create_volume.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status