fog/fog-profitbricks

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

Summary

Maintainability
A
1 hr
Test Coverage

Method create_volume_snapshot has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

          if datacenter = data[:datacenters]['items'].find do |attrib|
Severity: Minor
Found in lib/fog/profitbricks/requests/compute/create_volume_snapshot.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status