# File lib/faraday/response/raise_on_authentication_failure.rb, line 6 def on_complete(response) raise Tinder::AuthenticationFailed if [401, 404].include?(response[:status]) end