Method: Gitlab::Error::ResponseError#response_status

Defined in:
lib/gitlab/error.rb

#response_statusInteger

Status code returned in the HTTP response.

Returns:

  • (Integer)

26
27
28
# File 'lib/gitlab/error.rb', line 26

def response_status
  @response.code
end