dNitza/pin_up

View on GitHub

Showing 2 of 4 total issues

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

    Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def initialize(method, args, base_url, auth, timeout)
    Severity: Minor
    Found in lib/pin_up/client.rb - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language