dNitza/pin_up

View on GitHub
lib/pin_up/pin_errors.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    def self.handle_error(http_status, response)
      case http_status
      when 400
        case response['error']
        when 'cannot_delete_primary_card'
Severity: Minor
Found in lib/pin_up/pin_errors.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status