Method: Gitlab::Client#inspect

Defined in:
lib/gitlab/client.rb

#inspectString

Text representation of the client, masking private token.

Returns:

  • (String)
[View source]

78
79
80
81
82
# File 'lib/gitlab/client.rb', line 78

def inspect
  inspected = super
  inspected = redact_private_token(inspected, @private_token) if @private_token
  inspected
end