lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method get_edge_gateway has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def get_edge_gateway(id)
          unless edge_gateway = data[:edge_gateways][id]
            raise Fog::Compute::VcloudDirector::Forbidden.new(
              "No access to entity \"(com.vmware.vcloud.entity.gateway:#{id})\""
            )
Severity: Minor
Found in lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb - About 1 hr to fix

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

            def get_edge_gateway(id)
              response = request(
                  :expects => 200,
                  :idempotent => true,
                  :method => 'GET',
    Severity: Minor
    Found in lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status