fog/fog-profitbricks

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

Summary

Maintainability
A
1 hr
Test Coverage

Method create_nic has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def create_nic(datacenter_id, server_id, options = {}, entities = {})
          if options[:lan] == nil
            raise Excon::Error::HTTPStatus, "Attribute 'lan' is required"
          end

Severity: Minor
Found in lib/fog/profitbricks/requests/compute/create_nic.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status