Module: Tinder::Connection::HTTPartyExtensions

Defined in:
lib/vendor/tinder/lib/tinder/connection.rb

Instance Method Summary collapse

Instance Method Details

#perform_request(http_method, path, options) ⇒ Object

:nodoc:



46
47
48
49
50
# File 'lib/vendor/tinder/lib/tinder/connection.rb', line 46

def perform_request(http_method, path, options) #:nodoc:
  response = super
  raise AuthenticationFailed if response.code == 401
  response
end