Dariusch/plenty_client

View on GitHub
lib/plenty_client/endpoint.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method build_endpoint has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def build_endpoint(api_endpoint_template, arguments = {})
        # Duplicate constant to temporary endpoint string
        api_endpoint_result = api_endpoint_template.dup
        # Endpoint parameters hash that links symbols to regex
        endpoint_parameters = {
Severity: Major
Found in lib/plenty_client/endpoint.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status