Showing 2 of 4 total issues
Method handle_error
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.handle_error(http_status, response)
case http_status
when 400
case response['error']
when 'cannot_delete_primary_card'
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(method, args, base_url, auth, timeout)