Method: Patron::Response#status

Defined in:
lib/patron/response.rb

#statusInteger (readonly)

Returns the HTTP status code of the final response after all the redirects.

Returns:

  • (Integer)

    the HTTP status code of the final response after all the redirects



11
12
13
# File 'lib/patron/response.rb', line 11

def status
  @status
end